01 / Multi-application commerce system
Oakley Commerce Platform
Sole Developer & System Architect
A multi-app commerce platform separating the customer storefront SPA and vendor dashboard PWA, connected to a centralized Node.js/Express API and PostgreSQL with Row-Level Security.
Delivered Engineering Signal
Clear application boundaries, 3-dimensional state machines, database-enforced RLS policies, idempotent draft checkout, and automated end-to-end checkout testing.
Concrete Evidence & Decisions
- Engineered separate customer storefront and vendor operations PWA connected to a single Express/TypeScript API.
- Implemented 3-dimensional state machines governing order lifecycle, payment states, and system resolution.
- Enforced multi-tenant isolation directly in PostgreSQL via database Row-Level Security (RLS) policies.
- Developed automated end-to-end test harness validating stock reservation and checkout invariants.
Engineering Context
The system was architected to keep customer shopping and vendor administration cleanly separated while centralizing all critical commerce invariants—order state transitions, stock decrementing, payment proof uploads, and scheduled reconciliation—inside a single modular backend.