Contact
All projects
PersonalLive

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
hris-demo.davidfajardo.space
OREA payroll run with totals and a per-client breakdown
Clock-out screen in the worker app

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

  • OREA admin home dashboard

    The agency at a glance

    Active clients, deployed workers, payroll due and receivables, with the next things that need attention.

  • Timekeeping row with a map showing a punch outside the site

    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 run with per-client totals

    Payroll per client

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

  • Client billing overview

    Billing built from the same hours

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

  • AI assistant panel with suggested questions

    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.

  • Applicant pipeline by stage

    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-out screen in the worker app

    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.

  • Worker app home screen

    The worker's home screen

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

  • Salary calculator in the worker app

    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
hris-demo.davidfajardo.space
OREA public website
  • Genesis home with clock-in, schedule, leave balances and announcementsgenesis.pvgc.ph
    Company· Perez Ventures GroupIn production

    Genesis

    HR, recruitment, attendance and payroll, with one sign-in across every company tool

    • Web
    • Next.js
    • React
    • Prisma
    • Supabase
    • PostgreSQL
    Details
  • Golden Paws staff web app: inventory with stock health across branchesgolden-paws.site
    Freelance· Golden Paws Pet CenterIn production

    Golden 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
    Details