HRMS System
Attendance, payroll & payslips
A job fails (a PDF or email timeout). BullMQ retries it with exponential backoff.
Problem
Manual attendance and payroll runs don't scale — geo-spoofed check-ins, missed payslips, and RBAC gaps are common failure points.
Approach
- Async payroll engine (BullMQ + Redis), geo-tagged attendance with OpenStreetMap reverse-geocoding, AES-256 JWT auth, and RBAC middleware.
- Real-time Socket.IO notifications, Puppeteer PDF payslips, and ExcelJS bulk import/export.
Result
Attendance is geo-verified against real coordinates, payroll runs asynchronously without blocking the API, and payslips/exports generate on schedule.
Stack
The preview above replays the hardest moment of this project's Experience, drawn from the same simulation code. Click it to try the whole thing yourself.
Under the hood
A simplified excerpt of the core logic and how a request flows through the system.
// queues/payroll.worker.jsconst worker = new Worker("payroll",async (job) => {const { employeeId, month } = job.data;const days = await getAttendance(employeeId, month);const net = calculateNet(days);await Payslip.create({ employeeId, net });await generatePdfAndMail(employeeId);},{ connection: redis, concurrency: 5 });
Payroll pipeline
Connects to
More projects
Healthcare Platform
Telemedicine & Doctor Booking
Jira-style Tool
Sprint & task management
Ticketing Platform
Event seat selection & ticketing
Hotel PMS
Cloud Hotel Property Management System
DIT
Document Injection Tool · AI document assistant
autofix-watch
Log watcher that drafts its own fixes
Job Consultancy Portal
Job listings, applications & admin