# nextjs/saas-starter

> Get started quickly with Next.js, Postgres, Stripe, and shadcn/ui.

- GitHub: https://github.com/nextjs/saas-starter
- Website: https://next-saas-start.vercel.app
- Category: SaaS Starters (https://ideas.asveas.com/c/starters); also Auth & Payments
- Tags: nextjs, postgres, shadcn-ui, stripe, typescript
- Language: TypeScript · License: MIT
- Stars: 16,249 · Forks: 2,750 · Open issues: 57
- Last push: 2025-12-11 (11 months ago)
- Vibe score: 69/100

## 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.

## Maintenance
nextjs/saas-starter looks maintained, but updates are slowing: the last push was 11 months ago (2025-12-11), with 16,249 stars and 57 open issues.

## Quick start
```bash
git clone https://github.com/nextjs/saas-starter.git
```

## Alternatives in SaaS Starters
- [wasp-lang/open-saas](https://github.com/wasp-lang/open-saas) — A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing page, Payments (Stripe, Polar.sh), Shadcn UI, S3 file upload. AI-ready with tailored AGENTS.md, skills, and Claude Code plugin. One cmd deploy. Powered by Wasp full-stack framework. (★16.3k, MDX, vibe 87/100) · details: https://ideas.asveas.com/r/wasp-lang/open-saas
- [vercel/chatbot](https://github.com/vercel/chatbot) — A full-featured, hackable Next.js AI chatbot built by Vercel (★21k, TypeScript, vibe 84/100) · details: https://ideas.asveas.com/r/vercel/chatbot
- [ixartz/SaaS-Boilerplate](https://github.com/ixartz/SaaS-Boilerplate) — 🚀🎉📚 SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ⚡️ Full-stack React application with Auth, Multi-tenancy, Roles & Permissions, i18n, Landing Page, DB, Logging, Testing (★7.5k, TypeScript, vibe 80/100) · details: https://ideas.asveas.com/r/ixartz/SaaS-Boilerplate
- [t3-oss/create-t3-app](https://github.com/t3-oss/create-t3-app) — The best way to start a full-stack, typesafe Next.js app (★29.2k, TypeScript, vibe 72/100) · details: https://ideas.asveas.com/r/t3-oss/create-t3-app
- [boxyhq/saas-starter-kit](https://github.com/boxyhq/saas-starter-kit) — 🔥 Enterprise SaaS Starter Kit - Kickstart your enterprise app development with the Next.js SaaS boilerplate 🚀 (★5k, TypeScript, vibe 64/100) · details: https://ideas.asveas.com/r/boxyhq/saas-starter-kit
- [sveltejs/svelte](https://github.com/sveltejs/svelte) — web development for the rest of us (★88.7k, JavaScript, vibe 95/100) · details: https://ideas.asveas.com/r/sveltejs/svelte

---
Source: https://ideas.asveas.com/r/nextjs/saas-starter · Catalog: https://ideas.asveas.com/llms.txt
