Antonio Tamburello
← All projects
Archived · Next.js

SaaS Forge Kit

Next.js SaaS starter with auth, optional billing and Postgres.

A Next.js SaaS blueprint designed to be cloned and extended for SaaS ideas, portfolios, and experiments. Includes PostgreSQL + Prisma, Tailwind + shadcn/ui, Better Auth (email/password + optional Google OAuth), optional Stripe billing, TypeScript + Zod validation, and Docker Compose for local DB.

Built with

Next.jsTypeScriptPostgreSQLPrismaTailwind CSSshadcn/uiBetter AuthZodDocker ComposeStripe

Screenshots

SaaS Forge Kit screenshot 1
SaaS Forge Kit screenshot 2
SaaS Forge Kit screenshot 3
SaaS Forge Kit screenshot 4
SaaS Forge Kit screenshot 5
SaaS Forge Kit screenshot 6
SaaS Forge Kit screenshot 7
1 / 7
Case study

Building SaaS Forge Kit: a production-ready Next.js SaaS blueprint

· 8 min read

Building SaaS Forge Kit: a production-ready Next.js SaaS blueprint

Context

After building multiple web applications, I kept repeating the same groundwork: authentication, a database layer, a solid UI foundation, validation, and a clean project structure. Even when “copying from old projects”, the result was inconsistent and hard to maintain.

So I built SaaS Forge Kit as the starter I always wanted: a consistent, production-ready foundation you can clone and extend—for SaaS ideas, portfolios, and experiments.

What the kit optimizes for

  • Developer experience & consistency: predictable structure, conventions, and reusable patterns.
  • Type-safety end-to-end: TypeScript + Zod + Prisma.
  • Deployability: sane defaults for production, and a local setup that doesn’t waste time.

Solution Architecture

Core Technology Stack

Framework: Next.js (App Router)

  • Modern routing/data fetching patterns
  • Great performance and DX

Database: PostgreSQL + Prisma

  • Type-safe queries and migrations
  • Clean schema evolution

UI: Tailwind CSS + shadcn/ui

  • Minimal, consistent UI system
  • Light/Dark mode ready

Authentication: Better Auth

  • Email/password auth
  • Optional Google OAuth

Billing: Stripe (optional)

  • You can keep billing disabled by default
  • Enable it only when the product needs it

Local dev: Docker Compose

  • Start Postgres locally with one command
  • Keeps onboarding simple

Key Features

  • Next.js + TypeScript baseline
  • PostgreSQL + Prisma ORM
  • Zod validation
  • Better Auth authentication flow
  • Optional Stripe billing mode
  • Responsive UI with theme support

Tradeoffs

  • The kit includes “optional” subsystems (like billing): you can keep them off, but the code is there when you want to scale the product.
  • A blueprint requires conventions; I prefer that tradeoff to reduce ambiguity and speed up shipping.

Next steps

  • Portfolio template on top of SaaS Forge Kit (dynamic data + admin editor)
  • More “recipes” (e.g., multi-tenant patterns, content/case-study modules)
  • Better docs + examples for common use cases

Repo: https://github.com/Antonio-Tamburello/saas-forge-kit
Demo: https://saas-forge-kit.vercel.app

© 2026 Antonio Tamburello