Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

saas-boilerplate

> 前端框架
Open source

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead

3.0K stars0 likes1 views
WebsiteGitHub

About

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead

Build SaaS products faster in React, Django and AWS.

A complete SaaS starter kit based on a battle-tested stack with out-of-the-box features every SaaS should have


SaaS Boilerplate Documentation

SaaS Boilerplate Page

SaaS Boilerplate Demo


Supercharge your SaaS development with our comprehensive starter kit, designed to accelerate your project and save you valuable time and resources. Our battle-tested boilerplate eliminates the need for extensive configuration and development work, allowing you to focus on innovation from day one.

SaaS Boilerplate includes essential features that every SaaS application requires, such as frontend, backend API, admin panel, and workers. With a scalable AWS-based architecture and continuous deployment, you can easily deploy multiple environments representing different stages in your pipeline.

Say goodbye to weeks of setup and coding. Our proven stack and ready-to-use features empower you to jumpstart your project and prioritize building your product's intellectual property. Unlock your SaaS potential faster than ever before and seamlessly transition from setup to innovation.

Getting started

Requirements

  • Install Docker
  • Install Node.js version 20 or above (which can be checked by running node -v). We recommend Node.js 20+ for optimal compatibility with the latest features. You can use nvm or n for managing multiple Node versions installed on a single machine.
  • Install pnpm version 9 or above (which can be checked by running pnpm --version)
  • (Windows only) Install WSL 2

Optional

  • Install Python version 3.11 (which can be checked by running python3 --version) and uv (which can be checked by running uv --version)
    • You need this one if you want to run uv sync command in packages/backend or packages/workers outside docker container
    • You can use pyenv for managing multiple Python versions installed on a single machine.

Fresh installation

Setup using CLI starter kit

You can use a special CLI tool to run a new local instance of the SaaS Boilerplate as soon as possible. It will clone the repository and take care of setting up the environment. Run the following command in the directory where you would like to create a new project:

Using npm:

bash
npm init saas-boilerplate PATH

Using pnpm:

bash
pnpm create saas-boilerplate PATH

Using yarn:

bash
yarn create saas-boilerplate PATH

:information_source: Replace PATH with your desired project directory name (e.g., my-saas-app).

:warning: The target directory must be empty or non-existent! The CLI will create it for you.

Manual setup

For the manual setup clone this repository and follow the steps in Getting started guide.

Run existing project

:warning: If you are using a Windows machine, it's mandatory to have WSL 2 (Windows Subsystem for Linux) installed on your system to run the commands for installing dependencies and running the application.

Clone the repository

bash
git clone <your-project-repository-url>
cd <project-name>

Install dependencies

The project is configured to use pnpm workspaces, which means that you can install node_modules of all packages in repository, with single command:

bash
pnpm install

Environment Files: Make sure you have the necessary .env files from your team. If not, copy from .env.shared templates:

bash
cp .env.shared .env
cp packages/backend/.env.shared packages/backend/.env

Start the app

Start both: backend and webapp

bash
pnpm saas up

Start backend

bash
pnpm saas backend up

Start webapp

bash
pnpm saas webapp up

Local documentation

In order to run your local documentation server execute following command:

bash
pnpm saas docs up

Stop services

To stop all services:

bash
pnpm saas down

What's Running Locally?

After starting the application, you'll have these services available:

Service URL Description
Web App http://localhost:3000 Your SaaS frontend
Backend API http://localhost:5001 Django + GraphQL API
Admin Panel http://admin.localhost:5001 Django admin interface
Mailcatcher http://localhost:1080 Catches all emails locally
Docs http://localhost:3006 Local documentation
Workers http://localhost:3005 Workers trigger server

First Steps:

  1. Open http://localhost:3000 and create an account
  2. Check http://localhost:1080 for the verification email
  3. Log in to the Admin Panel at http://admin.localhost:5001 using credentials from your .env file

Features

This boilerplate includes plenty of ready to use features that you can adjust to your needs:


Authentication and authorization
  • User registration and login, including Facebook and Google OAuth
  • WebAuthn/Passkeys for passwordless authentication
  • Enterprise SSO (SAML 2.0, OIDC) with SCIM 2.0 directory sync
  • Basic user data like name, surname, and user role for authorization
  • User email address verification via a transactional email
  • Password change and password recovery within the app flow
  • User management panel in Django admin
  • Two-factor authentication (2FA)
  • Active session management across devices


Emails
  • A set of ready-to-send transactional emails (new user verification, password recovery, subscription renewals, errors, etc.)
  • Ability to schedule emails at a given time
  • Sending test emails directly from a Storybook
  • Internationalization support out of the box


Payments
  • Integration with Stripe services and its dashboard
  • No customer payment method data is stored locally
  • Support for multiple payment methods and their management (storing for future use and removal)


Subscriptions
  • Ability to charge users immediately or to set up recurring payments
  • Subscription plans support and ability to freely modify current plans
  • Free trial subscription plan, a grace period for credit card issues
  • Superadmin panel enables customer management (i.e. refunds) without the Stripe dashboard


Multi-tenancy
  • Start immediately with a default tenant provided upon account creation
  • Add new tenants as needed to manage multiple entities within a single account
  • Utilize three default roles ”Owner, Admin, and Member” to control tenant activities and collaboration
  • Securely invite and manage new members within each tenant
Tenant backup and restore
  • Per-tenant XML backups of selected modules and models
  • Encryption of backup content (AWS Secrets Manager or DB fallback with BACKUP_MASTER_KEY); configurable schedule (interval and retention)
  • Restore into the same or another tenant with conflict handling (skip, update, or fail)
  • Email notifications when a backup is ready or fails, and when a restore completes or fails
  • Backup/restore notification templates defined in the backup (tenants) module


CMS integration (Contentful)
  • Integration with Contentful service
  • Example content model (image, title, and description)
  • Ready to use CMS with a free plan


Notifications
  • Real-time in-app notifications with WebSocket support
  • Notification center UI with unread indicators
  • Mark all as read functionality
  • Easy to add new notification types


AI Integration
  • OpenAI integration ready for building AI-powered features
  • Example implementation included
  • Easy to extend with other AI providers

<a href="https://docs.demo.sa

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptawsaws-escbackendboilerplate

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架