Postgres for indie SaaS
When to use Supabase vs. raw Postgres, and the schema patterns we copy into every project.
Postgres is the default for indie SaaS. Supabase is how we usually host it.
When Supabase wins
You want auth, Postgres, storage, and edge functions in one dashboard. MVPs and early-stage products.
When raw Postgres wins
Existing infra, complex migrations, or team already on RDS/Neon with custom tooling.
Schema patterns we copy
userstable mapped to auth provider idcreated_at/updated_aton every table- Soft deletes only when you actually need audit trails
- JSONB for flexible metadata, not as a substitute for relations
Migrations
We use Supabase migrations or Prisma depending on client preference. Both work — pick one and stick with it.
Related articles
Building a Real-time AI Summarization SaaS MVP with Next.js Server Actions, Streaming, and Vercel AI SDK
Launch your AI summarization SaaS MVP fast. Use Next.js 16 Server Actions, Vercel AI SDK, and backend streaming for efficient, developer-friendly builds.
Read articleDesigning Hyper-Efficient AI MVPs: A Tailwind v4 Guide for Next.js 16 & React 19 Indie Projects
Build lightning-fast AI MVPs with Next.js 16, React 19, and Tailwind v4. Learn practical design patterns and code snippets for indie founders.
Read article