OREA
HR, payroll and client billing for manpower, staffing and security agencies, with a phone app for every worker
An agency's workers are spread across client sites, and every hour they log has to become both a payslip and an invoice. OREA follows that chain from the clock-in at the site to payroll per client to the bill the client receives.
- Built as
- Personal work
- My role
- Designed and built solo
- Runs on
- Web
- Mobile
- AI
- Built with
- React
- TypeScript
- Vite
- Supabase
- PostgreSQL
- Tailwind CSS
- Vitest


The problem
Manpower and security agencies deploy hundreds of workers to many client sites. Attendance comes in on paper or chat photos, payroll is rebuilt in spreadsheets every cut-off, and billing each client is a third copy of the same hours. Each copy is a chance to overpay a worker or underbill a client.
What I built
One chain, built in order: a worker clocks in at the site, timekeeping checks it, payroll runs per client with the government deductions applied, payslips go out, and the client invoice is built from the same hours. Workers get a phone app; the office gets everything else.
Main features
All screens use the demo's sample data.
Web app and website

The agency at a glance
Active clients, deployed workers, payroll due and receivables, with the next things that need attention.

Punches outside the site get flagged
Each site has a geofence. A punch recorded too far away is marked, with the map and distance, so the reviewer can decide.

Payroll per client
One run covers every client, with gross, deductions, employer share and net per client, and payslips sent from the same screen.

Billing built from the same hours
Invoices, receipts and aging per client come from the approved timekeeping, not a separate sheet.

An assistant that knows the data
Ask who is missing punches, summarise a cut-off, or find unpaid invoices, within the asker's own access.

Hiring, start to deployment
A public careers page feeds an applicant pipeline, through contract e-signing to the worker's first deployment.
Phone apps

Clock in from the worker's phone
Workers type the six-digit code shown on the site's kiosk, scan its QR, or take a time- and location-stamped photo.

The worker's home screen
Where they are deployed, today's shift, trainings due and a running clock while they work.

Take-home pay calculator
Workers estimate take-home pay after SSS, PhilHealth, Pag-IBIG and tax, so fewer payroll questions reach HR.
It also handles
- Rotating kiosk codes and QR for site attendance
- Payroll registers, payslips and daily time records ready to print
- Role and permission matrix per page and action
- Learning modules and quizzes for workers
- Notices to explain and coaching records for compliance
How it's built
- Interface
- React 18, TypeScript, Vite, shadcn/ui, Tailwind CSS, TanStack Query, Zustand, installable worker app
- Data
- Supabase Postgres in its own schema, 56 edge functions, 56 migrations
- Payroll
- Statutory deduction engine for SSS, PhilHealth, Pag-IBIG and withholding tax, with PDF and Excel output
- Quality
- About 330 Vitest test files, and a 5,000-worker scale test on staging
The live site
hris-demo.davidfajardo.space
Related work
Next: CREAM and the AI video editor
genesis.pvgc.phCompany· Perez Ventures GroupIn productionGenesis
HR, recruitment, attendance and payroll, with one sign-in across every company tool
- Web
- Next.js
- React
- Prisma
- Supabase
- PostgreSQL
golden-paws.siteFreelance· Golden Paws Pet CenterIn productionGolden Paws
Veterinary clinic system for three branches, from the exam room to the books, with phone apps for pet owners and staff
- Web
- Mobile
- Next.js
- React
- Supabase
- PostgreSQL
- Tailwind CSS