case file · 03 / Product ecosystem · 2026 · active
Cheddar
The live app is deliberately unstyled — these are the design concepts for the next evolution, rendered from the Cheddar design system. Every figure and client here is invented (the persona is fictional); the real app's numbers belong to a real person and never leave the homelab.
the engineering move
The database IS the product and the API — ~8,400 lines of SQL implement a degrade-safe safe_to_spend engine behind an inviolable data-provenance mandate: every one of 335 columns across 30 tables carries a machine-read COMMENT documenting its origin and class, enforced by a fail-closed gate. Paired with a Playwright headless scraper that reverse-engineers a POS with no public API via fingerprint-aware sessions and email-code 2FA.
brief
Cheddar is a full personal-finance ecosystem built for someone whose tip-heavy, variable income makes “can I afford this?” genuinely hard to answer. It's five coordinated repos: a Supabase/Postgres backend where security-definer functions ARE the API (tables sealed, RLS on), a React SPA and a native Android app as the daily surfaces, and a FastAPI homelab server that scrapes a booking POS with a headless browser, syncs the bank via Plaid, and parses email. The headline “safe to spend” number is deliberately conservative and shows its receipts, and every column in the schema has enforced, documented provenance so no number is ever a black box.
artifacts
scale
- repos
- 5
- documented columns
- 335
- lines SQL
- 8.4K
stack
- Supabase
- PostgreSQL / PL-pgSQL
- Deno Edge
- React
- TypeScript
- Kotlin / Compose
- FastAPI
- Playwright
- Plaid