Back to Projects
INTERNAL

zEt/

WHS Regulatory Compliance System

Automated WHS statutory position tracking for mining sites, replacing a manual spreadsheet process with fuzzy matching, audit trails, and scheduled compliance reporting. Shipped in 61 days.

WHS (Mines) Regulations 2022 require mining operators to track statutory position holders at every site. Penalties for non-compliance go up to $16.13M.

FastAPINext.jsRapidFuzzPostgreSQLTerraformAWS SES
Internal — Enterprise

Sole engineer, 98% of codebase. Matching algorithm, full-stack app, Terraform deployment, Remotion pitch deck.

61Days to Ship
386Test Files
~85%Time Saved
28API Endpoints

ARCHITECTURE

SPRS architecture diagram
Scroll to zoom·Click fullscreen for detail

HIGHLIGHTS

TWO-TIER FUZZY MATCHING

Fast exact-match on the frontend, RapidFuzz token_sort_ratio on the backend. Six match categories from EXACT (100%) down to DISCREPANCY, with configurable thresholds

7-YEAR AUDIT TRAIL

Every action logged with old/new values, user, IP, and user agent. Meets the WHS regulations retention requirement. Personnel changes can be rolled back

SCHEDULED COMPLIANCE REPORTS

APScheduler generates reports on a configurable cadence (daily/weekly/monthly), delivered by email through AWS SES and EventBridge

TECH STACK
Frontend:Next.js 16React 19Zustandshadcn/ui
Backend:FastAPIPython 3.12RapidFuzzAPSchedulerSQLAlchemy
Database:Aurora Serverless v2DynamoDB (sessions)SQL Server (INX)
Infrastructure:TerraformECS FargateS3SESEventBridge