Repository
8.7k

Next.js SaaS Starter (Official)

Official Vercel/Next.js team SaaS template — Next.js + Postgres + Stripe + shadcn/ui. Authoritative patterns for Server Actions, useActionState, and useFormStatus.

#Next.js#SaaS#Stripe#shadcn/ui#Server Actions#Postgres#Official

Overview

The official SaaS starter from the Vercel/Next.js team. This is the authoritative reference for how Next.js Server Actions, useActionState, and useFormStatus should be structured in a production app with payments, auth, and a database.

Features

  • Server Actions Pattern: The definitive pattern for data mutations in Next.js App Router.
  • Stripe Integration: Subscription management, webhook handling, billing portal.
  • shadcn/ui: Pre-integrated component library with dark mode support.
  • Postgres: Direct database setup with no ORM overhead — raw SQL patterns recommended by the Next.js team.

Use Cases

  • Building a SaaS product with Next.js and wanting the official Vercel team’s architecture.
  • Learning the correct Server Actions + form state pattern for production apps.
  • Starting a billing-enabled web app with Stripe as fast as possible.

Technical Advantages

  • Official — this is what the Next.js team themselves would build.
  • No abstraction overhead: Server Actions + raw Postgres means maximum performance.
  • shadcn/ui means your UI is fully owned and customizable, not a dependency.