Repolode
mickasmt

mickasmt/next-saas-stripe-starter

An open-source, modular Next.js SaaS starter with auth, organizations, Stripe billing, an admin panel, docs, blog and changelog, each toggleable.

Stars
3,012
Forks
642
Open issues
0
Last commit
last month

What is it?

This starter gives developers a working foundation for a subscription web product. It covers sign-in with Google through Better Auth, organizations, Stripe Checkout with a customer portal and webhooks, and an admin panel for user management. Content pages for docs, a blog and a changelog are written in MDX with Fumadocs.

The project is built around feature modules. Each module is a flag in config/features.ts; when it is off, its routes return 404, its links disappear and its endpoints are refused. A module stays disabled if its dependencies or required services lack environment variables. The command pnpm modules:prune removes unwanted modules, printing what would be deleted unless --yes is passed.

The stack is Next.js 16 with the App Router, Neon Postgres via Drizzle ORM, Tailwind CSS v4, shadcn/ui and Base UI, with TypeScript, Zod validation and server actions throughout.

Key features

  • 01Google sign-in and organizations via Better Auth
  • 02Stripe Checkout, customer portal and webhooks for subscriptions
  • 03Admin panel for platform user management
  • 04Docs, blog and changelog written in MDX
  • 05Feature modules that can be toggled or pruned with one command

Use cases

  • Starting a new subscription-based SaaS product on Next.js
  • Learning how to combine Better Auth, Drizzle and Stripe in one app
  • Building a product that needs docs and a changelog alongside the app

Quick start

  1. 1

    Create the project from the starter template

    npx create-next-app my-saas --example "https://github.com/mickasmt/next-saas-stripe-starter"
  2. 2

    Enter the project folder and install dependencies (then copy .env.example to .env.local and fill in what you need)

    cd my-saas && pnpm install
  3. 3

    Apply the database migrations

    pnpm db:migrate
  4. 4

    Start the development server

    pnpm dev

Things to know

  • Modules stay off until their required services, such as Neon Postgres, Stripe and Google OAuth, are configured.
  • Team invitations, seat-based billing, onboarding and transactional emails are not in this repository and are only available in the paid Pro version.

In collections

Topics

FAQ

What is next-saas-stripe-starter?
An open-source, modular Next.js SaaS starter with auth, organizations, Stripe billing, an admin panel, docs, blog and changelog, each toggleable. This starter gives developers a working foundation for a subscription web product. It covers sign-in with Google through Better Auth, organizations, Stripe Checkout with a customer portal and webhooks, and an admin panel for user management. Content pages for docs, a blog and a changelog are written in MDX with Fumadocs.
Is next-saas-stripe-starter free to use? What license does it have?
next-saas-stripe-starter is open source under the MIT license. Check the license terms before using it in commercial products.
Is next-saas-stripe-starter still maintained?
Updated within 6 months. The last commit to next-saas-stripe-starter was on Sep 28, 2026.
What can I use next-saas-stripe-starter for?
Starting a new subscription-based SaaS product on Next.js Learning how to combine Better Auth, Drizzle and Stripe in one app Building a product that needs docs and a changelog alongside the app
How do I install next-saas-stripe-starter?
Create the project from the starter template: npx create-next-app my-saas --example "https://github.com/mickasmt/next-saas-stripe-starter" Enter the project folder and install dependencies (then copy .env.example to .env.local and fill in what you need): cd my-saas && pnpm install Apply the database migrations: pnpm db:migrate Start the development server: pnpm dev
Where can I get next-saas-stripe-starter?
The source code and installation instructions are on GitHub: https://github.com/mickasmt/next-saas-stripe-starter

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects