How jmdusal/human-link works
HumanLink is a multi-company HR and work-management platform. An employee or administrator uses the React application to sign in and manage attendance, leave, payroll, people, and workspaces; the Laravel API exposes those operations and persists company-scoped records. The graph preserves the README’s major product areas and the sampled auth, attendance, leave, payroll, and workspace service boundaries. Several frontend-to-endpoint and unsampled controller-to-service links are not shown because the excerpts do not establish their exact calls.
Main entry points: App.tsx Web application · api.php API routing · PayrollService.php Payroll and payslips · AttendanceService.php Attendance and schedules
Components 18
React application
- Web application
humanlink/src/App.tsx - HR and work screens
humanlink/src/pages
Laravel API
- API routing
humanlink-api/routes/api.php - Authentication endpoints
humanlink-api/app/Http/Controllers/Api/AuthenticationController.php - Workspace endpoints
humanlink-api/app/Http/Controllers/Api/WorkspaceController.php
People operations
- Attendance and schedules
humanlink-api/app/Services/Attendance/AttendanceService.php - Leave management
humanlink-api/app/Services/LeaveRequest/LeaveRequestService.php - Payroll and payslips
humanlink-api/app/Services/Payroll/PayrollService.php - Employee lifecycle
humanlink-api/app/Services/EmployeeLifecycle/EmployeeLifecycleService.php - Dashboard and reports
humanlink-api/app/Services/Report/ReportService.php
Work management
- Workspace membership
humanlink-api/app/Services/Workspace/WorkspaceService.php - Projects and tasks
humanlink-api/app/Services/Task/TaskService.php
Shared platform
- Authentication
humanlink-api/app/Services/Auth/AuthService.php - Company administration
humanlink-api/app/Services/Company/CompanyService.php - Notifications
humanlink-api/app/Notifications
Other components
- HR users
- MySQL records
- Reverb realtime
Connections 14
- HR users → Web application: uses
README.md - Web application → HR and work screens: renders
humanlink/src/App.tsx - Web application → API routing: calls API
README.md - API routing → Authentication endpoints: routes auth
humanlink-api/routes/api.php - API routing → Workspace endpoints: routes workspace
humanlink-api/routes/api.php - Authentication endpoints → Authentication: delegates
humanlink-api/app/Http/Controllers/Api/AuthenticationController.php - Workspace endpoints → Workspace membership: delegates
humanlink-api/app/Http/Controllers/Api/WorkspaceController.php - Attendance and schedules → MySQL records: reads and writes
- Leave management → MySQL records: reads and writes
- Payroll and payslips → MySQL records: reads and writes
- Workspace membership → MySQL records: reads and writes
- Attendance and schedules → Reverb realtime: broadcasts timer
humanlink-api/app/Services/Attendance/AttendanceService.php - Leave management → Payroll and payslips: generates payroll
humanlink-api/app/Services/LeaveRequest/LeaveRequestService.php - Employee lifecycle → Payroll and payslips: generates final pay
humanlink-api/app/Services/EmployeeLifecycle/EmployeeLifecycleService.php