A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing
https://github.com/user-attachments/assets/3856276b-23e9-455e-a564-b5f26f4f0e98
You've decided to build a SaaS app with the Open SaaS template. Great choice!
This template is:
🧑💻 Check it out in action here: OpenSaaS.sh 📚 Check out the Docs here: Open SaaS Docs
The template itself is built on top of some very powerful tools and frameworks, including:
Because we're using Wasp as the full-stack framework, we can leverage a lot of its features to build our SaaS in record time, including:
You also get access to Wasp's diverse, helpful community if you get stuck or need help.
First, to install the latest version of Wasp on macOS, Linux, or Windows with WSL, run the following command:
npm i -g @wasp.sh/wasp-cliThen, create a new SaaS app with the following command:
wasp new -t saasThis will create a clean copy of the Open SaaS template into a new directory, and you can start building your SaaS app right away!
For everything you need to know about getting started and using this template, check out the Open SaaS Docs.
We've documented everything in great detail, including installation instructions, pulling updates to the template, guides for integrating services, SEO, deployment, and more. 🚀
There are two ways to get help or provide feedback (and we try to always respond quickly!):
This repository includes comprehensive code quality tooling to help maintain code standards:
Prettier is configured for automatic code formatting across all JavaScript, TypeScript, and other supported files.
# Check if files are formatted correctly
npm run prettier:check
# Automatically format all files
npm run prettier:formatESLint is configured with TypeScript and React support to catch potential bugs and enforce code quality standards.
# Run ESLint to check for issues
npm run lint
# Automatically fix fixable issues
npm run lint:fixThe ESLint configuration includes:
@typescript-eslintBoth Prettier and ESLint checks are automatically run in CI/CD pipelines to ensure code quality.
For information about other development tools used to maintain derived projects (like opensaas.sh and template-test), see tools/README.md.
Note that we've tried to get as many of the core features of a SaaS app into this template as possible, but there still might be some missing features or functionality.
We could always use some help tying up loose ends: contributions are welcome! Check out CONTRIBUTING.md for more details.
Payment webhooks process the same event more than once
Make payment webhook handlers more robust against retries and ordering
Stripe webhook sends the cancellation email on every subscription update
Add methods for calculating total profit
Zero-credit generation request still reaches provider before returning 402
Concurrent credit requests can overspend balance and create multiple outputs
Missing idempotency in webhook endpoints (+ related robustness gaps)
opensaas.sh landing page: Review Radar example links to an expired domain
Ensure it is clear in the docs that email provider is not needed when using just Google OAuth
Backticks on Roadmap on landing page are messed up