How suryani-76/hrms_app works
This is a web-based human-resources management system. Employees and HR staff enter through the React application; authentication and route protection lead users to operational pages, which expose functions such as attendance, leave, payroll, recruitment, tasks, and service requests. The sampled service-request path shows a page calling its API module, which uploads documents to Supabase storage. The router documents the wider set of product areas, but their internal data flows were not sampled, so those links are not inferred. Relationships shown are limited to explicit excerpts and routing declarations.
Main entry points: router.tsx Route access · App.tsx HRMS app · service-requests-page.tsx Service requests · service-requests.ts Request API
Components 16
Application shell
- HRMS app
hrms-app/src/App.tsx - Authentication
hrms-app/src/features/auth/auth-context.tsx - Route access
hrms-app/src/router.tsx - Dashboard
hrms-app/src/pages/dashboard-page.tsx
People operations
- Attendance
hrms-app/src/pages/attendance-page.tsx - Leave
hrms-app/src/pages/leave-page.tsx - Employee records
hrms-app/src/pages/employees-page.tsx - Payroll and payslips
hrms-app/src/pages/payroll-page.tsx - Recruitment portal
hrms-app/src/pages/recruitment-page.tsx - Insurance enrollment
hrms-app/src/pages/insurance-enrollment-page.tsx
Work management
- Tasks and projects
hrms-app/src/pages/tasks-page.tsx - Service requests
hrms-app/src/pages/service-requests-page.tsx
Data and communications
- Request API
hrms-app/src/lib/api/service-requests.ts - Supabase storage
hrms-app/src/lib/supabase.ts - Email delivery
hrms-app/supabase/functions/send-email/index.ts
Other components
- Employee or HR
Connections 14
- Employee or HR → HRMS app: uses
- HRMS app → Authentication: provides context
hrms-app/src/App.tsx - HRMS app → Route access: renders routes
hrms-app/src/App.tsx - Route access → Dashboard: routes to
hrms-app/src/router.tsx - Route access → Attendance: routes to
hrms-app/src/router.tsx - Route access → Leave: routes to
hrms-app/src/router.tsx - Route access → Employee records: routes to
hrms-app/src/router.tsx - Route access → Payroll and payslips: routes to
hrms-app/src/router.tsx - Route access → Recruitment portal: routes to
hrms-app/src/router.tsx - Route access → Insurance enrollment: routes to
hrms-app/src/router.tsx - Route access → Tasks and projects: routes to
hrms-app/src/router.tsx - Route access → Service requests: routes to
hrms-app/src/router.tsx - Service requests → Request API: fetches and uploads
hrms-app/src/pages/service-requests-page.tsx - Request API → Supabase storage: uploads documents
hrms-app/src/lib/api/service-requests.ts