Mengseang.
← Software/hrms-saas
Full-Stack / SaaS2025

Mr.HR - Human Resource Management System

Comprehensive HRMS SaaS with database-per-tenant architecture. Multi-tenant isolation with branch-level separation, real-time GPS attendance, biometric device integration, payroll, inventory with state machines, daily reports, shared calendar, automated reminder engine, dynamic permission system, and KPI performance tracking.

Mr.HR · WORKFORCE PLATFORMATTPAYKPILEAVEASSETPRESENT98%PAYROLL$12kBRANCHES5GPS CHECK-INAPPROVAL WORKFLOWREQMGRHRLeave request · JohnAsset request · SarahExpense · MikePAYROLL · 6 MONTHSPERMISSIONSGLOBALDEPTBRANCHSELFRBAC
Tech Stack
Next.jsNestJSTailwindPostgreSQLRedisPrismaDocker
Metrics
PlatformWeb + Mobile
ArchitectureDB/Tenant
Core Modules24+
Tenants10+ companies
IsolationBranch-level
BiometricFingerprint + Card
AutomationReminder Engine
PermissionsDynamic RBAC
StatusProduction
Links
Tags
SaaSMulti-tenantEnterpriseHRMSPayrollAttendanceInventoryAutomation
Skills & Tools
Next.jsNestJSTypeScriptPostgreSQLTailwindPrismaRedisDockerMulti-tenant ArchitectureConnection PoolingBiometric IntegrationRBAC
Key Features
01

One Click attendance: single-tap GPS check-in with biometric device integration (fingerprint, card, and face scanners)

02

Dynamic multi-location check-in per branch: multiple geofenced locations (main office, satellite, field sites) with per-location radius

03

Dynamic attendance policy: per-branch late and missing fingerprint rules with salary deduction

04

Web dashboard for admins, managers, and branch managers plus mobile app for employee check-in/out

05

Dual KPI system: Assigned KPI (manager-scored) and Self KPI (employee-owned)

06

Three-pillar inventory: consumable, per-item, and returnable with state machines and audit trails

07

Control plane for fleet-wide tenant management, health monitoring, and billing

08

Achievement system with badges, milestones, leaderboards, and redeemable points

Also Included

Staff engagement automations: birthdays, anniversaries, welcome messages, holiday wishes

Automated payroll with branch isolation and printable payslips

Daily work reports with manager approval and nightly aggregation

Shared calendar with leave requests, holidays, and attendance sync

Auto-reminder engine with configurable rules and multi-channel delivery

Dynamic permission system with per-tenant role definitions and per-branch permission overrides

Policy management with rich text, attached files, read receipts, and version history

Annual Leave (AL) tracking with balance, carry-over rules, and auto-deduction on approval

Real-time dashboard with attendance, payroll, inventory, and report trends

Bilingual UI (Khmer and English) with i18n from day one

Branch-level soft isolation via branch_id on every row, enforced at the ORM repository layer

Dynamic connection pooling with lazy tenant pool creation, idle eviction, and Redis-backed tenant-to-database mapping

Automated migration runner that applies schema changes per-tenant in transactions with a shared ledger and failure alerting

Inventory state machine per pillar with full audit trail: consumable (in-stock, low-stock, depleted), per-item (assigned, in-repair, retired with depreciation), returnable (checked-out, overdue, returned)

Nightly aggregation pipeline for daily reports into weekly and monthly summaries per branch and employee, idempotent re-runs

Calendar event engine with unified schema, JSONB type extensions, RRULE-based recurring events expanded lazily on demand

Reminder automation worker as standalone Node.js process, Redis BRPOP-based horizontal scaling, exponential backoff retries with dead-lettering

Achievement event pipeline via per-tenant Redis streams, domain events consumed by achievement worker, per-employee points ledger with configurable redemption approval

Biometric device integration with ZKTeco and BioKiosk SDKs, middleware service with offline buffering and sync conflict resolution

Employee records with full lifecycle: onboarding, documents, contracts, leave, offboarding, and custom JSONB fields per tenant

Reporting with per-branch and per-tenant exports to PDF and Excel with scheduled email delivery

Firebase Cloud Messaging for mobile push notifications, WebSocket for dashboard real-time updates

Staff schedule override: time-boxed per-employee shift overrides for field assignments, training, and temporary changes

Dynamic day-off schedule per staff: fixed, rotating, or custom per-week day-off patterns with payroll-aware absence detection

Staff document management with categorized folders, versioning, expiry tracking, and permission-scoped access

Telegram bot integration for notifications and two-way interaction: receive alerts and respond to approvals directly from chat

Shift management with rostering, employee assignment, shift swaps with manager approval, and shift-based attendance validation

Expense management with receipt attachments, manager approval, and payroll-integrated reimbursement

Audit trail logging all actions across modules: edits, approvals, deletions, logins, permission and policy changes

Org chart and employee directory with reporting lines, branch structure, and clickable employee profiles

Dynamic approval pipeline: per-approval-type workflows with approver resolvers (specific staff, department head, team lead, branch manager), multi-step chains, and parallel approvals