How nextdevelopernetwork/payroll works
PulseHR is an HR management application for employee records, work schedules, attendance, payroll, and related administration. An HR user works through the browser client, which calls the Express API; the server reads and updates PostgreSQL-backed data. The excerpts show schedule, employee, and settings requests, database access, and startup seeding. The README contains no usable capability details, so the additional HR domains shown here are grounded in the client excerpts and database schema; their individual server routes were not sampled.
Main entry points: app.ts HR workspace · db/index.ts Database access · seed.ts Startup seeding · server/index.ts Employee API
Components 15
HR workspace
- HR workspace
src/client/app.ts - Employee administration
src/client/app.ts - Schedules and time logs
src/client/app.ts - Payroll and exports
src/client/app.ts - Leave management
src/client/app.ts - Reviews and expenses
src/client/app.ts
Application services
- Authentication and users
src/server/index.ts - Employee API
src/server/index.ts - Schedule API
src/server/index.ts - HR domain APIs
src/server/index.ts - Startup seeding
src/server/seed.ts
HR records
- Database access
src/db/index.ts - HR data model
src/db/schema.ts
Other components
- HR user
- PostgreSQL
Connections 17
- HR user → HR workspace: uses
src/client/app.ts - HR workspace → Employee administration: opens
src/client/app.ts - HR workspace → Schedules and time logs: opens
src/client/app.ts - HR workspace → Payroll and exports: opens
src/client/app.ts - HR workspace → Leave management: opens
src/client/app.ts - HR workspace → Reviews and expenses: opens
src/client/app.ts - HR workspace → Employee API: requests employee data
src/client/app.ts - HR workspace → Schedule API: requests schedule changes
src/client/app.ts - HR workspace → HR domain APIs: requests settings
src/client/app.ts - Employee API → Database access: reads and writes
src/server/index.ts - Schedule API → Database access: reads and writes
src/server/index.ts - Authentication and users → Database access: queries users
src/server/index.ts - HR domain APIs → Database access: queries settings
src/server/index.ts - Startup seeding → Database access: seeds records
src/server/seed.ts - Database access → HR data model: uses schema
src/db/index.ts - Database access → PostgreSQL: connects to
src/db/index.ts - Startup seeding → HR data model: seeds defined tables
src/server/seed.ts