All open source
Open SourceBoilerplate16k

Next.js SaaS Starter

The Next.js team's minimal SaaS starter with Stripe and RBAC.

Next.js SaaS Starter is an official Vercel/Next.js team starter template demonstrating a SaaS app built with the App Router. It includes Stripe checkout and subscription management, Postgres with Drizzle ORM, JWT-based auth stored in cookies, role-based access, and a logged-in dashboard. It serves as a reference implementation for modern Next.js SaaS patterns.

Repository

nextjs/saas-starter

Language

TypeScript

What you'd build with it

  • Reference how to implement Stripe subscriptions with the Next.js App Router
  • Bootstrap a SaaS dashboard with Drizzle/Postgres and cookie-based auth
  • Learn current Next.js Server Actions and middleware patterns for gated routes

Tags

saasnextjsstripe