What it is
The in-house platform built to replace our fragmented Salesforce workflows and run the whole ambulance manufacturing and dealership operation. Built solo from scratch in roughly two months. It currently runs the entire shop floor—including work orders, inspections, PDI, parts inventory, scheduling, and reporting—while sales, CRM, and accounting modules are in active development for our full transition off Salesforce next year.
Why it matters
Salesforce was expensive, slow, and couldn't do what we needed without a consulting firm bolting on custom objects. I'd originally set it up myself — earned the Lightning Superbadge doing it. Years later I'm building the platform that's replacing it. Same person, full circle.
How it's built
- Cookie-based auth with CSRF double-submit — sessions stored in the DB, not JWT claims. Server-rendered app, so cookies are the right call.
- 12 user roles from ADMIN to CUSTOMER. Every API route calls a guard function first. Guards return the user object, so role checks happen at the entry point, never mid-function.
- Soft deletes everywhere — deletedAt timestamp on almost every model. Queries always filter deletedAt: null. Exception: transaction logs and assignment tables are immutable history.
- Built a Salesforce reader into Home Base that pulls live data — objects, flows, process builders, rollup rules — so I could plan the migration without disrupting the sales team.
- Microsoft Graph integration syncs photos from Home Base into the right SharePoint folders based on vehicle build number. No more manual uploads.
What I'd do differently
Schema design would have used composite types earlier. Should have introduced a queue sooner — still running most operations synchronously. Should have added structured logging from day one instead of retrofitting.