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
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
SaaS Boilerplate Documentation
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.
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.pnpm --version)python3 --version) and uv (which can be checked by running
uv --version)uv sync command in packages/backend or packages/workers outside
docker containerpyenv for managing multiple Python versions installed on a single machine.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:
npm init saas-boilerplate PATHUsing pnpm:
pnpm create saas-boilerplate PATHUsing yarn:
yarn create saas-boilerplate PATH:information_source: Replace
PATHwith 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.
For the manual setup clone this repository and follow the steps in Getting started guide.
: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.
git clone <your-project-repository-url>
cd <project-name>The project is configured to use pnpm workspaces, which means that you can install node_modules of all packages in
repository, with single command:
pnpm installEnvironment Files: Make sure you have the necessary
.envfiles from your team. If not, copy from.env.sharedtemplates:cp .env.shared .env cp packages/backend/.env.shared packages/backend/.env
Start both: backend and webapp
pnpm saas uppnpm saas backend uppnpm saas webapp upIn order to run your local documentation server execute following command:
pnpm saas docs upTo stop all services:
pnpm saas downAfter 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:
- Open http://localhost:3000 and create an account
- Check http://localhost:1080 for the verification email
- Log in to the Admin Panel at http://admin.localhost:5001 using credentials from your
.envfile
BACKUP_MASTER_KEY); configurable schedule (interval and retention)<a href="https://docs.demo.sa
No open issues yet, or sync has not completed.