Next.js SaaS Boilerplate

Save time and focus on your business with this scalable and production-ready SaaS boilerplate. It includes authentication, multi-tenancy, i18n, billing, a landing page and much more!

Last update to codebase: 4 days ago

Everything you need to launch your SaaS in no time

supastarter provides you with all the common functionality and tools you need to build a SaaS, so you can focus on your core business.

🔐 Authentication

Full authencation flow including email/password, magic link and social login. All components are ready to use and fully customizable.

💸 Payments

Billing your customers with subscriptions is easy. supastarter comes with Lemonsqueezy and Stripe integrations.

🏢 Multi-tenancy

Built for multi-tenancy and with a ready-to-use team and user management, which you can also easily deactivate if you don't need it.

👨🏼‍💻 Super Admin

A admin panel is included, which allows you to manage all users and teams.

👤 User impersonation

Impersonate your users to help them with their issues.

📋 SaaS onboarding flow

Collect additional information from your users during the onboarding process and let them create their first team.

🤖 AI

Includes a ready-to-use AI integration based on Vercels AI SDK.

🌍 Internationalization

To make your app accessible to everyone, internationalization support is included out of the box.

🖥️ SaaS Landing Page

A beautiful landing page with features, pricing and newsletter signup is included.

📰 SaaS Blog

A multi-language MDX-based blog is included to keep your customers up to date with the latest news.

📚 SaaS Documentation

A multi-language MDX-based documentation is included to help your customers to get started with your app.

📜 SaaS Legal Pages

Multi-language placeholder pages for privacy policy and terms of service are included.

Production-ready and scalable stack

supastarter for next.js is a scalable and production-ready SaaS starter kit with Next.js 14 and the new app router.

React server components

RSC make your app really fast and allow nested routing.


We integrate the latest best practices and keep the starter kit updated with the latest Next.js version.


Authentication is handled by Lucia Auth, which enables you to fully customize every aspect of your authentication flow and you have full control over your user data.

Own the user data

All user data is stored in your own database and you have full control over it.

Password & passwordless login

Your customers can choose between email/password or magic link login.


You can easily add any oAuth provider like Google, Facebook or Twitter.

Auth components

All auth components (login, signup, password reset) are ready to use and fully customizable.

Billing & subscriptions

For billing your users, you can choose between Lemonsqueezy and Stripe. Both are fully integrated and ready to use.

Complete billing flow

Bill your customers monthly / yearly with subscriptions.

Billing components

The billing components (pricing table, subscription managment) are ready to use and fully customizable.

AI integration

supastarter comes with a ready-to-use AI integration based on Vercels AI SDK

Multiple AI adapters

The Vercel AI SDK offers adapters for LangChain, OpenAI, Hugging Face and more.

Ready to use

Just add your API keys and you are ready to go.


To make your app accessible to everyone, internationalization support is included out of the box.

Fully translated

All labels and messages are translated in English and German and can be easily translated to any other language.

Language switcher

Easily switch the language of your app with the language switcher component.

Modern, beautiful UI. Fully customizable.

Your SaaS app is fully customizable and you can easily change the styling to match your brand. It is also compatible with shadcnUI.

Dark mode

A dark mode is included and all components are ready to use in dark mode.

Fully customizable

Adjust every aspect of your app to match your brand. Or use the predefined theme to save time.


Thanks to the power of Prisma, you can use any database you want. Just change the connection string, run the schema migration and you are good to go.

Choose your database

Prisma supports all popular databases like Postgres, MySQL, MongoDB and more.

Schema migrations

Prisma makes it easy to change your database schema and keep it in sync with your code.


Utilizing trpc, supastarter provides you with a flexible and scalabe API layer that can be easily extended and is ready to be used with a mobile or desktop app.

Type-safe API

tRPC gives you a type-safe API layer for your frontend and backend.

Reusable API

We built the API in a way that it can be easily reused for a mobile or desktop app. Or even for a customer-facing API.

Mailing – batteries-included.

Coming with multiple mail provider integrations and ready-to-use email templates, you can easily create and send emails to your customers.

React email

Build your emails with React and use the included email templates.

Choose your mail provider

Ready to use integrations for Plunk, Resend, Postmark, Nodemailer and more.

I built supastarter to help indie hackers and developers to build their SaaS with a solid stack in no time. It's goal is to save you valuable time and provide you with all the common functionality a SaaS needs, so you can focus on your core business.

No matter if it's a small project or a SaaS for millions of users, supastarter and it's stack allows you to build your next project in no time.

Read more on the blog →
Jonathan Wilke

Jonathan Wilke

Creator of supastarter

One-time purchase.
Unlimited projects.

supastarter is a one-time purchase with no recurring fees. You get access to the repository and can use it for as many projects as you want.

Lifetime access

For unlimited projects


  • One-time purchase
  • Saves you 40+ hours
  • All features including authentication, i18n, subscriptions and more
  • Lifetime repository access for one user
  • Lifetime access to discord server for support
  • Unlimited usage of code & unlimited projects
Buy now →

Trusted by 400+ developers around the globe

Read what customers love about supastarter and how it helped them to launch their product.


See all the updates we've made.

4 days ago

  • 🛠️ Update dependencies
  • 🐞 Small bug fixes

17 days ago

  • 🛠️ Refactor storage provider to use S3 also for Supabase

21 days ago

  • 🛠️ Update dependencies

about 1 month ago

  • 🛠️ Update dependencies
  • 🐞 Small bug fixes

about 2 months ago

  • 🛠️ Update dependencies

about 2 months ago

  • 💅🏼 Redesign UI

2 months ago

  • 🛠️ Update dependencies

3 months ago

  • 📧 Add ability for admins to resend verification mails

3 months ago

  • 🛠️ Update dependencies

3 months ago

  • 📝 Add changelog page
  • ⁉️ Add FAQ page

3 months ago

  • 📋 Add onboarding flow

3 months ago

  • 📚 Add documentation module
  • 🌍 Multi-language support for legal pages and blog
  • 🛠️ Update dependencies

4 months ago

  • 🛠️ Update dependencies

4 months ago

  • 🛠️ Updated eslint config for all packages and apps

4 months ago

  • 💽 Storage providers (Supabase storage, S3-compatible services)
  • 🏞️ Avatars & account deletion for users and teams
  • 🛠️ Update to tRPC v11

5 months ago

  • 👨🏼‍💻 Admin UI & user impersonation
  • 🛠️ Update to Lucia auth v3

6 months ago

  • 📰 Add RSS feed for blog posts

6 months ago

  • 🚀 Add full compatibility for shadcn/ui

7 months ago

  • 🛠️ Update tailwindcss to 3.4
  • 🛠️ Remove teamSlug from url for easier linking
  • 🛠️ Refactor redirects after auth

8 months ago

  • 🚀 Enable MongoDB as database provider

8 months ago

  • 🚀 Add ability to change user roles in a team
  • 🐞 Fix changing of password for oAuth accounts

9 months ago

  • 🚀 Upgrade to Next.js 14

9 months ago

  • 🐞 Fix tailwind variables for mail templates
  • 🐞 Fix breaking API endpoint for invalid session

9 months ago

  • 🐞 Fix layout bug in blog page
  • 🐞 Fix bug where unpublished posts would show in blog list
  • 🔢 Fix sorting of blog posts

9 months ago

  • 🐞 Fix interval switch in pricing table
  • 🐞 Fix dark mode for blog posts
  • 📚 Add docs on currency setup

9 months ago

  • 🐞 Fix redirect after login

10 months ago

  • 💸 Add Stripe as payment provider

10 months ago

  • 🪄 Add AI integration with the Vercel AI SDK

10 months ago

  • 📰 Add opengraph image for blog posts

10 months ago

  • 🚀 Inital release

Stay up to date

Sign up for our newsletter and we will keep you updated on everything going on with supastarter.