PropFlow
A maintenance tracker that takes a repair from a tenant's report to a closed work order.
- Solo, full-stack
- 2026
- Personal project
Four kinds of people share every request, and each may see only their part: a tenant their own repairs, a contractor only their jobs, a manager only their buildings. The hard part was making that true on every request rather than in the interface, keeping one honest history when two people change the same record at once, and opening a public demo to strangers without letting them email anyone, see each other, or leave anything behind.
Roles are enforced by the API from a single permission matrix, so the frontend can never be the only guard; the cost was writing every query to scope by organization, property and role. The browser talks only to a Next.js proxy holding a shared secret, which closes the API to everyone else; that extra hop later broke rate limiting, because counting proxy hops recorded Cloudflare's address instead of the visitor's, and the fix was a signed header of our own. Concurrent edits carry a version and are shown to the second editor instead of being overwritten, which meant a conflict screen for every form. Photos go straight to Cloudflare R2 through short-lived signed links, keeping files out of the API at the price of CORS and CSP rules that had to match exactly. The demo builds each visitor a private sandbox through the real services; because the audit log is append-only, demos must never write to it, or they could never be deleted.
Shipped at no cost on Vercel, Render and Neon, with hourly clean-up on GitHub Actions, 368 API tests, 76 unit tests and 43 browser journeys on every change, and 21 decision records. Free hosting shaped more than expected: no background worker, an API that sleeps, and blocked email ports. I'd buy a domain from the start, since emails still arrive from a relay address and sometimes land in Promotions; design for phones from the first screen instead of retrofitting a menu; and add the formatting check to CI on day one rather than after a 51-file cleanup.
- Next.js 16
- TypeScript
- Flask
- PostgreSQL
- Redis
- Cloudflare R2
- Playwright
