Blueprints

Architecture templates,
sharpened on real work.

The architectural patterns I keep reaching for. Each one is opinionated, production-tested, and scoped to a specific class of problem. Not generic diagrams — actual decisions with their reasoning attached.

Internal Platform

Internal SaaS Platform

The reference stack for building an internal platform that handles auth, role-based access, multiple business modules, and a clean reporting layer — without microservice overhead.

Next.jsSupabaseRLSVercel
Open the blueprint
AI Pipeline

AI Receipt Scanning Pipeline

A production pattern for turning a photographed receipt into structured, validated, human-approved data. LLM extraction, deterministic validation, human approval, and a complete audit trail.

ClaudeSupabase StorageServer ActionsResend
Open the blueprint
Marketing Site

Headless CMS Marketing Site

How to build a fast, editable marketing site without losing your soul to a heavyweight CMS. Content as code, optional CMS for non-technical edits, ISR for instant deploy.

Next.jsMDXSanity (optional)Vercel ISR
Open the blueprint
API

Rate-Limited Public API

A defensive baseline for any public API. Edge-rate-limited, key-authenticated, observable, with abuse detection and a clean upgrade path from free tier to paid.

Edge MiddlewareUpstash RedisHonoSentry
Open the blueprint
SaaS Foundation

Multi-Tenant SaaS Foundation

A simple, defensible multi-tenant architecture using Postgres + RLS. Single shared schema, tenant-scoped policies, billing-aware feature gates, and a clean per-tenant admin surface.

Postgres RLSStripeSupabase AuthNext.js
Open the blueprint
Realtime

Realtime Collaboration App

Building a multi-user app where edits, presence, and notifications are live across every connected client — without rolling your own WebSocket infrastructure.

Supabase RealtimePostgresY.js (optional)Next.js
Open the blueprint

Let's build something good.

You've got a problem. I solve problems with software for a living.The fastest way to find out if we can work together is to talk.

Stack I build with

Next.jsTypeScriptPythonSupabaseAWSVerceln8nClaudeOpenAIPostgreSQL