Builder's Toolkit/Open source · React, Django, AWS
Start your SaaS at the part only you can build.
Sign-up, Stripe billing, teams and roles, audit logs and AWS deployment are already built in SaaS Boilerplate. It is free and open source, written by the Apptension team. Run it yourself, or launch with the engineers who wrote it.
Read the docsLaunch it with our team
- GitHub stars
- 3,031
- forks
- 430
- contributors
- 35
- released March 2026
- v5.0.0
Why it exists
Most of a SaaS build happens before the first customer.
Every SaaS needs sign-up, billing, roles, an audit log and a way to deploy. None of it is why customers pay you. We kept rebuilding these parts on client projects, so we put them in one repository and opened it up.
21things to build before the first customer
- Sign-up, login, password reset, to build
- Email verification, to build
- Google and Facebook login, to build
- Passkeys and two-factor, to build
- SSO and SCIM for enterprise buyers, to build
- Stripe subscriptions and trials, to build
- Refunds from your own admin, to build
- Workspaces and invites, to build
- Roles and permissions, to build
- Audit log, to build
- Per-customer backups, to build
- Transactional emails, to build
- In-app notifications, to build
- Admin panel, to build
- Background workers, to build
- AWS infrastructure as code, to build
- CI/CD to several environments, to build
- Local setup in one command, to build
- The feature your customers pay for, to build
- Your pricing and packaging, to build
- Your onboarding and brand, to build
What is already built
Built, tested and documented. Click through it.
Real screens from the boilerplate. Every part has a page in the docs and runs in the live demo.
People can sign up, sign in and stay signed in.
Email sign-up with verification, social login, passkeys and two-factor are wired to the API and the UI. Enterprise SSO is there for the first customer whose IT team asks for it.
- Email sign-up with a verification email
- Google and Facebook login
- Passkeys (WebAuthn) and two-factor authentication
- Enterprise SSO over SAML 2.0 or OIDC, with SCIM 2.0 directory sync
- Password change and recovery inside the app
- Active sessions per device, with remote sign-out


Kwame Nyanning, CEO of blkbx, on SaaS Boilerplate
Built on it
blkbx, a one-click checkout app, is built on SaaS Boilerplate.
“The SaaS Boilerplate Apptension built was a huge reason we were so successful, because all these little seemingly unrelated tasks and integrations needed to happen. If we had been working with anybody else, It would have probably taken months to do the same work.”
How the pieces fit
A stack your next hire already knows.
React on the front, Django and GraphQL behind it, Celery for background work, AWS CDK for the infrastructure. Point at a part to see what it talks to.
One codebase, every environment
AWS CDK · CI/CD on GitHub or Bitbucket
- Your laptop
- QA
- Staging
- Production
Frontend
- React19.2
- TypeScript5.4
- Apollo Client4
- React Router7
- Vite6
- Tailwind3.4
- shadcn/ui
- Storybook10
- Jest
Backend
- Python3.11
- Django5.2
- Graphene (GraphQL)3.2
- Django REST Framework3.15
- Celery5.4
- dj-stripe
- Postgres14+
- Redis7+
Infrastructure
- AWS CDK2
- Docker
- Nx19
- pnpm9+
- GitHub or Bitbucket CI
Services
- Stripe
- Sentry
- Contentful
- OpenAI
- SonarCloud
Run it today
Two commands to a running app.
The CLI clones the repository and sets up the environment. Docker runs the rest, so the only things on your machine are Docker, Node and pnpm.
$ npm init saas-boilerplate my-saas# clones the repo into ./my-saas and creates the .env files$ cd my-saas && pnpm saas up# starts the backend and the web app in Docker# open localhost:3000 and create your first account
Then open
- 1Web app
localhost:3000Create your first account here - 2Mailcatcher
localhost:1080The verification email lands here - 3Admin panel
admin.localhost:5001Sign in with the credentials from .env - ·API
localhost:5001Django and GraphQL - ·Docs
localhost:3006Run pnpm saas docs up to read the docs offline - ·Workers
localhost:3005Trigger background jobs
License
MIT
Sell what you build, change any part of it and keep your code private. No fee, no account.
Running cost
$200–500 / month
The docs estimate for a small production environment on AWS. QA environments run $80–150.
SourceHelp from the people who wrote it
A senior engineer next to you for the first week.
Book a setup session, a full day on AWS and Stripe, or a one-week sprint with the engineers who maintain the boilerplate. Pay by card, start this week.
Starter
For founding teams validating product-market fit
$199
2-hour session with Senior Backend Engineer
- 2- hours live walkthrough
- Docker setup
- CLI usage & deployment
- Environment configuration
You'll receive
Setup notes and checklist
Pro
Most popularFor CTOs shipping core product modules
$699
Full day (8 hours) session with Principal Engineer
- In-depth onboarding
- AWS & CDK walkthrough
- Branching strategies
- Stripe/ CMS setup
You'll receive
Recorded sessions, Setup documentation
Enterprise
For engineering leaders launching production SaaS
$2,999
One week sprint with our Senior Expert
- Architecture review
- Advanced customization
- CI/CD fine-tuning
- Performance review
You'll receive
Recorded sessions, Custom documentation, Technical recommendations
Custom
For teams needing targeted expert intervention
$120/hour
Dedicated support from our Senior Backend Engineer
- Debugging complex issues
- Third-party integrations
- Multitenancy
- Stripe customization
You'll receive
Quick kickoff, Flexible work, Weekly updates, Pause anytime
_> SaaS economics
The stack saves time. Model what that does to runway.
Test pricing, growth, hiring, infrastructure, and cash assumptions over 36 months. Change one input and see revenue, EBITDA, runway, and break-even move together.
36
Months
6
Sheets
€2.45M
Y3 Revenue*
Prefer to watch
From clone to a running app, on video.

Introduction to SaaS Boilerplate
Questions before you clone
A free, open-source starting point for SaaS products, built by Apptension in React, Django and AWS. It ships the parts every SaaS needs before the first customer: sign-up and SSO, Stripe subscriptions, workspaces and roles, an audit log, per-customer backups, emails, notifications, an admin panel, background workers and AWS infrastructure as code. You write the feature your customers pay for.
Yes. It is MIT licensed: you can sell what you build on it, change any part of it and keep your code private. There is no fee and no account to create.
Docker, Node.js 20 or newer and pnpm 9 or newer. On Windows you also need WSL 2. Run npm init saas-boilerplate my-app, then pnpm saas up, and open localhost:3000. Python 3.11 and uv are only needed if you want to run the backend outside Docker.
The included infrastructure is written for AWS with CDK, with CI/CD that deploys separate environments such as QA and production. The repository also contains a Docker Compose production file and a Render blueprint if you would rather start somewhere else.
The documentation estimates $80 to $150 a month for a development or QA environment and $200 to $500 a month for a small production environment. Traffic, storage, instance sizes and region move the number, and the docs break it down service by service.
Yes. The project started in 2020 as our AWS Boilerplate and has had regular releases since; version 5.0.0 shipped in March 2026. More than 30 people have contributed, and we use it on our own client builds, such as the blkbx checkout app.
Yes. You can book a senior engineer for a setup session, a full day or a one-week sprint below, or bring in a full Apptension team to design and build the product on the same stack.





