How rajgohel2908/peoplepay360-hr-payroll works
PeoplePay360 is an HR and payroll application. Staff and employees use the web client to access workforce records, attendance and leave, payroll, payslips, reports, and administration; API routes dispatch requests to domain controllers, which use payroll logic and persistent data. The sampled payrun controller references calculation and validation modules, and the leave controller explicitly calls notification, email, and audit services. Many page and route implementations were not sampled, so their internal interactions are not inferred.
Main entry points: App.jsx Web application · client.js API client · connection.js Application database · payrunController.js Payrun controller
Components 34
Web client
- Web application
client/src/App.jsx - API client
client/src/api/client.js - Reports
client/src/pages/reports/ReportsDashboard.jsx - Administration
client/src/pages/admin/UserManagement.jsx - Dashboard
client/src/pages/dashboard/Dashboard.jsx
Workforce operations
- Employee records
client/src/pages/employees/EmployeeList.jsx - Employee 360
client/src/pages/employees/Employee360.jsx - Attendance
client/src/pages/attendance/AttendanceList.jsx - Time off
client/src/pages/timeoff/TimeOffDashboard.jsx - Contracts
client/src/pages/contracts/ContractList.jsx - Schedules
client/src/pages/schedules/ScheduleList.jsx - Employee portal
client/src/pages/ess/EmployeePortal.jsx - Workforce controllers
server/controllers/employeeController.js - Time-off controller
server/controllers/timeOffController.js
Payroll
- Payrun workflow
client/src/pages/payroll/PayrunWizard.jsx - Payroll detail
client/src/pages/payroll/PayrollDetail.jsx - Payroll validation
client/src/pages/payroll/PayrollValidationCenter.jsx - Salary structures
client/src/pages/salary/SalaryStructures.jsx - Payslips
client/src/pages/payslips/PayslipList.jsx - Payrun controller
server/controllers/payrunController.js - Payroll calculator
server/payroll/calculator.js - Salary rule engine
server/payroll/salaryRuleEngine.js - Payroll validator
server/payroll/validator.js - Variance detector
server/payroll/varianceDetector.js
API platform
- Payrun routes
server/routes/payrunRoutes.js - API application
server/app.js - Authentication
server/middleware/auth.js - Role authorization
server/middleware/rbac.js - Admin controller
server/controllers/adminController.js
Shared services
- Application database
server/database/connection.js - Audit logging
server/services/auditService.js - Notifications
server/services/notificationService.js - Email delivery
server/services/emailService.js
Other components
- HR / employee
Connections 41
- HR / employee → Web application: uses
- Web application → Employee records: routes to
client/src/App.jsx - Web application → Employee 360: routes to
client/src/App.jsx - Web application → Attendance: routes to
client/src/App.jsx - Web application → Time off: routes to
client/src/App.jsx - Web application → Payrun workflow: routes to
client/src/App.jsx - Web application → Payroll detail: routes to
client/src/App.jsx - Web application → Payroll validation: routes to
client/src/App.jsx - Web application → Salary structures: routes to
client/src/App.jsx - Web application → API client: may call
- Employee records → API client: may request data
- Time off → API client: may request data
- Payrun workflow → API client: may request data
- Web application → API application: calls API
- API application → Payrun routes: mounts
server/app.js - Payrun routes → Payrun controller: dispatches
server/routes/payrunRoutes.js - Payrun routes → Authentication: authenticates
server/routes/payrunRoutes.js - Payrun routes → Role authorization: checks roles
server/routes/payrunRoutes.js - Payrun controller → Payroll calculator: computes with
server/controllers/payrunController.js - Payrun controller → Payroll validator: validates with
server/controllers/payrunController.js - Payrun controller → Variance detector: detects variances
server/controllers/payrunController.js - Payroll calculator → Salary rule engine: evaluates rules
server/payroll/calculator.js - Payroll calculator → Payroll validator: uses
server/payroll/calculator.js - Payrun controller → Application database: reads and writes
server/controllers/payrunController.js - Workforce controllers → Application database: reads and writes
server/controllers/employeeController.js - Time-off controller → Application database: reads and writes
server/controllers/timeOffController.js - Time-off controller → Notifications: creates
server/controllers/timeOffController.js - Time-off controller → Email delivery: sends
server/controllers/timeOffController.js - Time-off controller → Audit logging: records
server/controllers/timeOffController.js - Audit logging → Application database: writes logs
server/services/auditService.js - Email delivery → Application database: logs delivery
server/services/emailService.js - Web application → Reports: routes to
client/src/App.jsx - Web application → Administration: routes to
client/src/App.jsx - Web application → Dashboard: routes to
client/src/App.jsx - API application → Admin controller: mounts admin routes
server/app.js - Contracts → API client: may request data
- Schedules → API client: may request data
- Employee portal → API client: may request data
- Payslips → API client: may request data
- Payrun workflow → Payrun routes: uses payrun API
- Salary structures → Application database: configures payroll data