Case 01 · 2026
In testing · rollout planned Dec 2026
Cobranza
Billing and reconciliation for a nonprofit therapy foundation.
- Problem
- The foundation tracked payments in spreadsheets, and keeping them in order had become unmanageable.
- How it is built
- I took over an unfinished prototype and rebuilt it. The billing logic (late fees, quarterly discounts, session packages and bank-transfer reconciliation) lives in tested functions. Auth.js separates the Admin, Staff and Accounting roles, and a test fails if any server action lacks declared permissions. A monthly cron job generates the charges.
- Result
- In internal testing; the foundation is expected to start using it in December 2026. Before launch, an audit with 78 attack tests found 14 vulnerabilities, all fixed.
78
attack tests
14
vulnerabilities fixed
200+
Vitest tests
10
SQL migrations
Next.js 16 · React 19 · TypeScript · Prisma · PostgreSQL (Supabase) · Auth.js · Vitest · GitHub Actions · Vercel