nextjs/saas-starter
Get started quickly with Next.js, Postgres, Stripe, and shadcn/ui.
What it is
This is a starter template for building a SaaS application using Next.js with support for authentication, Stripe integration for payments, and a dashboard for logged-in users. Marketing landing page (/) with animated Terminal element Pricing page (/pricing) which connects to Stripe Checkout Dashboard pages with CRUD operations on users/teams Basic RBAC with Owner and Member roles Subscription management with Stripe Customer Portal Email/password authentication with JWTs stored to cookies Global middleware to protect logged-in routes Local middleware to protect Server Actions or validate Zod schemas Activity logging system for any user events
When to use it
Reach for saas-starter when you want to skip setup and start from a working SaaS, chatbot or full-stack template — it's written in TypeScript and fits stacks tagged nextjs, postgres, shadcn-ui, stripe.