Tempus HR.
Multi-tenant HR & attendance management system — built with Next.js 15, TypeScript & PostgreSQL.
One system. Every HR workflow.
Tempus HR is a complete HR management system built for small to mid-size companies. It handles everything from daily attendance tracking to leave approvals, staff management, and monthly Excel reports — all in one clean, professional web application.
It's multi-tenant, meaning a single deployment can serve multiple companies, each with their own isolated data, staff, and settings. Perfect for agencies that want to resell it to clients, or businesses that need separate environments per department or branch.
The entire stack is modern and production-grade: Next.js 15 App Router, TypeScript end-to-end, Drizzle ORM with PostgreSQL (via Supabase), NextAuth v5 for authentication, and Tailwind CSS v4 + shadcn/ui for the UI. Deployable to Vercel in about 15 minutes.
Everything HR needs. Nothing it doesn't.
Attendance Management
Upload CSV from any biometric/fingerprint device. Auto-detects late arrivals, early checkouts, missing punches, and absences. Manual corrections with full audit trail.
Leave & Amendments
7 leave types. Employee self-service portal. HR/Manager approval workflow with review notes. Leave shown directly on attendance records.
Staff Management
Full staff profiles with employee codes and departments. Per-staff custom attendance rules. Soft deactivation — history always preserved.
Reports & Excel Export
Professionally styled Excel output matching payroll format. Per-staff sheets with 8 punch columns, color-coded late times, and org-wide summary.
Role-Based Access
4 roles: Super Admin, HR Admin, Manager, Employee. Three-layer enforcement: middleware, page guards, API level. Managers see only their department.
Multi-Tenant
Each company fully isolated. Invite users by email with role assignment. Public holiday config per org. Configurable working hours per month.
12 pages. All built.
Every page is fully implemented — no stubs, no placeholders. Responsive, tested, production-ready.
Modern. Typed. Maintainable.
Every dependency chosen for longevity and developer experience — no experimental packages, no abandoned libraries.
Frontend
- Next.js 15App Router
- TypeScriptstrict mode
- Tailwind CSS v4
- shadcn/ui
Backend
- Next.js API Routes
- NextAuth v5credentials
- Drizzle ORM
- Zodvalidation
Data & Infra
- PostgreSQLvia Supabase
- Drizzle Kitmigrations
- Verceldeploy
Utilities
- ExcelJSstyled reports
- Papa ParseCSV import
- date-fns
- Lucide Icons
Built for four types of buyer.
Small Businesses
You use a fingerprint device and currently process CSV attendance files manually every month. Tempus HR automates the whole workflow in one dashboard.
HR Departments
Replacing manual Excel tracking with a proper system that has leave workflows, audit trails, and one-click payroll-ready reports.
Agencies & Resellers
Multi-tenant by design. Rebrand it, deploy one instance, and onboard as many client companies as you like — all isolated.
Developers
A production-grade Next.js 15 + Drizzle + Supabase + NextAuth v5 codebase to build from, not a tutorial toy. Multi-tenant RBAC included.
What you actually get.
- Complete source code via private GitHub repo transfer
- Full PostgreSQL schema + Drizzle migration files
- Deployment guide — Vercel + Supabase, ~15 min
- Environment variable documentation
- 1 round of setup support if you get stuck
- All 12 pages, fully implemented and responsive
- Role-based access control at 3 enforcement layers
- Styled Excel export ready for payroll handoff
Choose your starting point.
Buy the source code and run it yourself, or have me handle the full setup and customisation. All tiers include the complete codebase.
- Full codebase (GitHub repo transfer)
- Database schema + migrations
- Deployment guide
- Env variable docs
- 1 round of setup support
- Everything in Source Code
- I deploy to your Vercel + Supabase
- Ready within 24 hours
- Database seeded and tested
- Handover call included
- Everything in Source + Setup
- Custom logo, name & color scheme
- Domain configuration
- 1 feature customisation
- Handover call included
- Everything in Source + Branding
- Custom features built to spec
- Arabic / RTL language support
- Email notifications for workflows
- Ongoing support plan
Make it exactly yours.
The base system handles most HR workflows out of the box. But every company is different — here's what can be tailored on request: