# nextjs/saas-starter

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

Repository: https://github.com/nextjs/saas-starter
Canonical: https://ross.abutalabs.com/products/saas-starter
Homepage: https://next-saas-start.vercel.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: nextjs, postgres, shadcn-ui, stripe
Last push: 2025-12-11T22:35:37+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 56, release rhythm 35, longevity 51
- inputs: {"age_days": 723, "days_push": 265, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16061, forks 2704 (observed 2026-08-28T04:11:14.770281+00:00)

## What it is
An official Next.js starter template for building SaaS applications with authentication, Stripe payments, and a user dashboard. It combines Next.js, Postgres with Drizzle ORM, Stripe subscriptions, and shadcn/ui into a ready-to-deploy codebase.

## Use cases
- launch a subscription-based SaaS product quickly
- add Stripe checkout and customer portal to a Next.js app
- set up email/password auth with JWT cookies in Next.js
- build a team dashboard with CRUD and basic RBAC
- bootstrap a Next.js project with Postgres and Drizzle
- learn how to wire Stripe webhooks locally

## When to choose
- starting a new SaaS from scratch with Next.js and Stripe
- you want an official, well-maintained reference implementation
- you need auth, payments, and RBAC wired together out of the box

## When to avoid
- you use a different stack than Next.js/Postgres/Stripe
- you need production-grade RBAC or multi-tenancy beyond owner/member roles
- you want a no-code or hosted SaaS builder

## Facets
- artifact type: learning-resource
- maturity: active
- function: auth, web-framework, orm, middleware, form-handling, state-management
- domain: web-development, backend, frontend, e-commerce, developer-tools
- platform: self-hosted
- tags: nextjs, saas-starter, stripe, drizzle-orm, shadcn-ui, postgres, typescript, boilerplate, subscription-payments, rbac, boilerplate, nodejs, web-server, docker

## Member repositories
- nextjs/saas-starter (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:14.770281+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:31:00.113837+00:00, confidence not recorded.
  - readme: https://github.com/nextjs/saas-starter (fetched 2026-08-28T04:11:14.770281+00:00, sha f4822754c557)
- Data as of 2026-08-30T08:39:29.467469+00:00.
