How kishore071005/hr works
Harvik HR is an internal workforce-management dashboard. Users sign in to the React application, which communicates with an Express API for employee records and HR workflows; the API persists domain data and supports background jobs and notifications. The README documents recruitment-to-employee conversion, onboarding, attendance and leave, offboarding, document generation, and operational reporting. The source excerpts show selected service calls; other subsystem links below rely on README statements, not inspection of unsampled implementation.
Main entry points: app.ts HTTP API · employee.service.ts Employee records · App.tsx HR dashboard · queues.ts Background jobs
Components 20
Web application
- HR dashboard
apps/web/src/App.tsx - Session provider
apps/web/src/features/auth/AuthProvider.tsx - API client
apps/web/src/api/client.ts
API platform
- HTTP API
apps/api/src/app.ts - Authentication
apps/api/src/modules/auth/auth.service.ts
People lifecycle
- Employee records
apps/api/src/modules/employees/employee.service.ts - Recruitment
apps/api/src/modules/recruitment/candidate-conversion.service.ts - Onboarding
apps/api/src/modules/onboarding/onboarding.service.ts - Exit lifecycle
apps/api/src/modules/exit/exit.service.ts
Workforce operations
- Attendance
apps/api/src/modules/attendance/attendance.service.ts - Leave management
apps/api/src/modules/leave/leave.service.ts - Documents and PDFs
apps/api/src/modules/documents/pdf.service.ts - Operational reports
apps/api/src/modules/reports/report.service.ts - Notifications
apps/api/src/modules/notifications/notification.service.ts
Shared services
- Audit logging
apps/api/src/modules/audit/audit.service.ts - Background jobs
apps/api/src/jobs/queues.ts - MongoDB
apps/api/src/db/mongo.ts - Redis
apps/api/src/db/redis.ts - Email delivery
apps/api/src/modules/notifications/email.service.ts
Other components
- HR user
Connections 25
- HR user → HR dashboard: uses
README.md - HR dashboard → Session provider: provides session
apps/web/src/App.tsx - Session provider → API client: requests session
apps/web/src/features/auth/AuthProvider.tsx - HR dashboard → API client: calls API
README.md - API client → HTTP API: sends requests
README.md - HTTP API → Authentication: routes authentication
- HTTP API → Employee records: routes HR workflows
- HTTP API → Recruitment: routes recruitment
- HTTP API → Onboarding: routes onboarding
- HTTP API → Exit lifecycle: routes offboarding
- HTTP API → Attendance: routes attendance
- HTTP API → Leave management: routes leave
- HTTP API → Documents and PDFs: routes documents
- HTTP API → Operational reports: routes reports
- HTTP API → Notifications: routes notifications
- Recruitment → Employee records: converts candidate
README.md - Employee records → Onboarding: syncs checklist
apps/api/src/modules/employees/employee.service.ts - Authentication → Audit logging: records events
apps/api/src/modules/auth/auth.service.ts - Employee records → Audit logging: records changes
apps/api/src/modules/employees/employee.service.ts - HTTP API → MongoDB: uses database
README.md - HTTP API → Redis: uses cache and queues
README.md - Background jobs → Redis: uses BullMQ
README.md - Operational reports → Background jobs: queues large exports
- Background jobs → Notifications: schedules reminders
README.md - Notifications → Email delivery: sends email
README.md