Surya Prakash YadavSenior Software Developer
Back to All ProjectsEnterprise Full-Stack SaaS

Enterprise HR & Workforce Management System

Full-Stack Enterprise Human Capital, Attendance & Payroll Dashboard

A scalable corporate HRMS web and mobile ecosystem that centralizes workforce administration, biometric and geofenced attendance tracking, dynamic shift scheduling, leave approval matrices, 360 performance reviews, and automated payroll computations.

My RoleFull-Stack Lead Developer
Timeline & Scope7 Months

Key Verified Outcomes & Results

85%
Reduction in Monthly Payroll Processing Time
1,200+
Employees Managed Daily
100%
Payroll Calculation Accuracy
4.5 hrs → 12 min
Leave Approval Cycle Time
The Business & Technical Challenge

A mid-sized enterprise with 1,200+ employees across 5 branches suffered from fragmented HR spreadsheets, manual biometric clock-in reconciliations, slow leave approval cycles, and frequent payroll calculation discrepancies.

The Engineered Solution

Architected a unified Full-Stack HRMS using Next.js, React, Node.js, and MySQL. Features granular Role-Based Access Control (RBAC), multi-tier manager approval workflows, automated overtime and tax calculation engines, and interactive organizational charts.

System Architecture

Layered MVC + REST API Architecture + Modular Component Design

Production Verified

The React/Next.js frontend connects via secure HTTP-only cookies and JWT tokens to an Express.js API gateway. Middleware validates user permissions via an optimized bitmask RBAC engine before delegating to modular business services backed by indexed MySQL relational schemas.

React Frontend
1. Next.js Admin Dashboard

HR manager accesses real-time workforce metrics and approval queues.

Node.js Gateway
2. Express.js API Gateway

Validates JWT session, rate limits, and applies department permission masks.

Business Logic
3. Payroll & Attendance Service

Processes clock-in logs and executes salary arithmetic within ACID transactions.

MySQL Storage
4. MySQL Relational DB

Persists records across normalized tables with automated audit trail logging.

Core Engineering Features & Capabilities

Comprehensive Employee Directory with hierarchical organizational tree visualization
Geo-Fenced Mobile Clock-in and biometric hardware API integration
Dynamic Shift Roster Management with automated clash detection
Multi-Tier Leave Approval Engine with email and in-app action triggers
360-Degree Performance Review cycles with KPI metric scoring and feedback graphs
Automated Payroll Generation with tax deductions, bonuses, and salary slip PDF export
Departmental Resource Analytics & Turnover Rate forecasting dashboards
Secure Audit Logs tracking all administrative mutations for compliance

Complex Engineering Challenges & Technical Solutions

Challenge #1Complex Multi-Jurisdiction Payroll & Tax Calculation Rules

Root Problem

Calculating variable tax brackets, provident funds, overtime multipliers, and leave deductions for 1,200+ employees produced edge-case rounding errors.

Senior Implementation

Developed a declarative rule-engine parser with integer-based precision arithmetic (cents/paise) and built comprehensive unit test suites covering 200+ tax calculation scenarios.

Challenge #2High-Concurrency Biometric Clock-in Spikes

Root Problem

Hundreds of employees punching in simultaneously at 9:00 AM caused MySQL connection bottlenecks.

Senior Implementation

Implemented a Redis queue buffer that absorbs punch requests instantaneously and asynchronously flushes batches to MySQL in optimized bulk inserts.

Complete Technology & Tooling Stack

React 18 & Next.jsfrontend
TypeScriptfrontend
Tailwind CSSfrontend
Node.js & Express.jsbackend
MySQL & Sequelize ORMdatabase
Redis (Session & Caching)backend
JWT & RBAC Securitybackend
Nginx & AWS EC2devops

Key Architectural Takeaways

  • Relational integrity and database constraints (foreign keys, check constraints) are invaluable for financial and HR data.
  • Decoupling high-frequency data ingestion (clock-ins) from relational writes using Redis prevents database lock contention.