Launched January 6, 2026
MERN SaaS Starter Kit

MERN SaaS Starter Kit

A open source free SaaS subscription starter kit

FreeOpen Source225 impressions#362 of its week

A production-ready SaaS starter kit with authentication(google and local),subscription payments (stripe), and email integration(to recovery account, change passwords and confirm real account), google recaptcha and much more! Focus on building your product, and use this repo to make a faster app ready for prod!

A free open-source MERN starter kit with auth, Stripe subscriptions, email, reCAPTCHA and TypeScript-based full-stack boilerplate.

for
Developers building SaaS products with the MERN stack who want a production-ready foundation.
pricing
open source
license
open source
viitormasc/SaaS-Subscription-Auth-Starter-Kit 2 0TypeScriptupdated a year ago
works withReactNode.jsExpressMongoDBStripeAWS SESMailgunNodemailerGoogle OAuthGoogle reCAPTCHACloudinary

Key features

6 features of MERN SaaS Starter Kit
  • Authentication — Local email/password login with bcrypt and Google OAuth 2.0, plus email verification and password recovery.
  • Payments & Subscriptions — Stripe integration supporting multiple plans, monthly/annual billing and webhook-driven subscription management.
  • Email System — Configurable email sending via AWS SES, Mailgun or Nodemailer with templates and retry logic.
  • Security — Rate limiting, CSRF protection, Google reCAPTCHA v3 and security headers for hardened endpoints.
  • Modern Frontend — React 19 with TypeScript, Tailwind CSS, shadcn/ui components and React Query for cached API data.
  • Backend Architecture — Express.js API written in TypeScript, MongoDB with Mongoose, and RESTful routes with role-based access.

Use cases

  • Rapidly prototype a subscription-based web app with built-in auth and billing
  • Launch a SaaS product and focus on unique business logic instead of infrastructure
  • Create a multi-tenant dashboard with secure user management and email notifications

MERN SaaS Starter Kit vs alternatives

MERN SaaS Starter KitOpen SaaSAppwritePolarSupabase
Best forFull-stack SaaS starter kitReact + Node SaaS starter with PostgresSelf-hosted backend platformPayments-first SaaS infrastructureHosted Postgres + auth platform
PricingOpen sourceFreeSubscriptionSubscriptionSubscription
DevHunt upvotes098000
LaunchedJan 2026Jan 2024———

MERN SaaS Starter Kit FAQ

What services do I need to run the starter kit?+

You need a MongoDB Atlas account, a Stripe account, a Google Cloud project for OAuth & reCAPTCHA, and an email provider (AWS SES, Mailgun or Gmail).

Is the kit ready for production?+

Yes, it includes production-ready features such as rate limiting, CSRF protection, secure session storage and Stripe webhook handling.

Can I customize the UI?+

The frontend uses React, Tailwind CSS and shadcn/ui, so you can replace or extend components to match your design.

How is the code organized?+

The repository uses npm workspaces with separate client and server folders, each written in TypeScript.

Is there a demo I can try?+

A demo video is linked in the README (https://youtu.be/Hf3J6HceH1o) showing the kit in action.

Summarized by DevHunt from github.com · Oct 6, 2026. Details may change; check the official site.