Web application · 2026
Fullstack scaffold
An opinionated Next.js 15 + Supabase + Drizzle + Zod + Vitest + CI scaffold that serves as the reference architecture for future client projects. The wire-level details you usually only learn when something goes wrong.
Client
Internal reference architecture
Year
2026
Category
Web application
The problem
I wanted one place where 'how I do things' was encoded — not as documentation, but as working software. So every new project starts from a proven base instead of an empty create-next-app canvas.
My approach
Next.js 15 App Router with TypeScript. Supabase for auth + Postgres + Row Level Security. Drizzle as the type-safe ORM, with migrations as generated files (no db push in production). Zod validation on every API boundary. Vitest for unit + integration, GitHub Actions for CI. All tokens in environment vars; nothing in code.
The result
A clean base that takes you from zero to a secured, tested webapp in an hour. The `/api/health` and `/api/supabase/opencode-ping` endpoints prove end-to-end Supabase and Stripe connections.