Case study
Clocking Management API
Workforce time-and-attendance API
An ASP.NET Core 8 time-and-attendance API covering employees, departments, shifts, leave, biometric profiles and attendance reporting.
The problem
Companies need reliable tracking of shifts, leave and attendance.
Who it serves
- HR and payroll teams
- Department supervisors
- Employees
Key features
Secure sign-in
JWT authentication with refresh tokens stored as their own entity.
Employees and departments
Employee records, departments and department supervisors.
Shift scheduling
Shift schedules and employee shift assignments.
Leave requests
A dedicated leave-requests controller and entity.
Biometric profiles
Biometric profile storage with its own service and controller.
Attendance and reports
Attendance records, an automatic clock-out background service, reports and an audit log.
What I built and how
- Layered API / Core / Infrastructure solution with repository and unit-of-work patterns.
- JWT auth with refresh tokens, employees, shifts, leave requests, biometric profiles and attendance.
- Background service for automatic clock-out.
- Three projects: API (controllers), Core (entities and interfaces) and Infrastructure (services and data access).
- Repository and unit-of-work patterns over EF Core and PostgreSQL.
- Dockerfile and docker-compose for running the stack.
- ASP.NET Core 8
- C#
- EF Core
- PostgreSQL
- JWT
- Docker
Source: the ClockingManagement repository source tree on GitHub.