How martinstanicio/humanresourcesdelta works
Human Resources Delta is an HR platform for managing employees, collective agreements, leave, and overtime. Employees and HR staff use the Angular client to access a Django REST API; domain endpoints validate and serialize requests against PostgreSQL-backed models. The principal workflow is login, then submit or manage leave and overtime records; HR can maintain employees and agreements and review requests. The README documents PostgreSQL and Nginx, but the sampled source does not show their runtime wiring, nor does it establish the Angular service-to-API request flow, so those links are omitted.
Main entry points: empleados/models.py Employee records · convenios/models.py Agreement records · urls.py API URL routing · licencias/models.py Leave records
Components 19
Web client
- Angular application
client/src/app/app.ts - Login and app routes
client/src/app/app.routes.ts - Login screen
client/src/app/login/login.ts - Agreements client
client/src/services/convenios.service.ts
API access
- API URL routing
api/config/urls.py - Employee endpoints
api/empleados/views.py - Agreement endpoints
api/convenios/views.py - Leave endpoints
api/licencias/views.py - Overtime endpoints
api/horas_extras/views.py - Employee serialization
api/empleados/serializers.py - Agreement serialization
api/convenios/serializers.py - Leave validation
api/licencias/serializers.py - Overtime validation
api/horas_extras/serializers.py
Domain records
- Employee records
api/empleados/models.py - Agreement records
api/convenios/models.py - Leave records
api/licencias/models.py - Overtime records
api/horas_extras/models.py - PostgreSQL
Other components
- Employee / HR
Connections 24
- Employee / HR → Angular application: uses
README.md - Angular application → Login and app routes: boots
- Login and app routes → Login screen: routes to
client/src/app/app.routes.ts - Employee endpoints → Employee serialization: serializes
api/empleados/views.py - Agreement endpoints → Agreement serialization: serializes
api/convenios/views.py - Leave endpoints → Leave validation: validates with
api/licencias/views.py - Overtime endpoints → Overtime validation: validates with
api/horas_extras/views.py - Employee serialization → Employee records: maps
api/empleados/serializers.py - Agreement serialization → Agreement records: maps
api/convenios/serializers.py - Leave validation → Leave records: maps
api/licencias/serializers.py - Overtime validation → Overtime records: maps
api/horas_extras/serializers.py - Employee records → Agreement records: references
api/empleados/models.py - Leave records → Employee records: references
api/licencias/models.py - Leave records → Agreement records: references
api/licencias/models.py - Overtime records → Employee records: references
api/horas_extras/models.py - Overtime records → Agreement records: references
api/horas_extras/models.py - API URL routing → Employee endpoints: routes
- API URL routing → Agreement endpoints: routes
- API URL routing → Leave endpoints: routes
- API URL routing → Overtime endpoints: routes
- PostgreSQL → Employee records: stores
README.md - PostgreSQL → Agreement records: stores
README.md - PostgreSQL → Leave records: stores
README.md - PostgreSQL → Overtime records: stores
README.md