topboilerplates.com

Multi-Tenant SaaS Starter NestJS (OwaliShawon)

A NestJS backend starter for multi-tenant SaaS, billed as 'Laravel Jetstream for NestJS'

Multi-Tenant SaaS Starter NestJS (OwaliShawon)Check Multi-Tenant SaaS Starter NestJS (OwaliShawon)
Multi-Tenant SaaS Starter NestJS (OwaliShawon)
Best for
NestJS developers building a multi-tenant B2B SaaS backend who want row-level tenant isolation, RBAC, and audit logging solved from the start.
Skip if
You need a frontend included, or you want a billing integration already wired rather than just billing-ready architecture.

Multi-Tenant SaaS Starter NestJS is a free, open-source backend boilerplate providing row-level tenant isolation, JWT auth with token rotation, RBAC (Owner/Admin/Member), organizations with invitations, per-tenant feature flags, audit logging, and a billing-ready ports/adapters architecture for Stripe or Paddle. It's built with NestJS, Prisma, PostgreSQL, and Redis.

Pros

  • Genuine multi-tenancy with row-level isolation, not just a single-tenant app with a team table
  • RBAC, organizations, and audit logging all included
  • Billing-ready ports/adapters pattern makes swapping Stripe/Paddle straightforward later
  • Docker support, migrations, seed data, and E2E test infrastructure included

Cons

  • Backend-only, no frontend or admin UI included
  • Billing is architected for but not actually integrated - you still wire up Stripe/Paddle yourself
  • Small, early-stage project with modest GitHub traction (17 stars)

Features

Auth and access

  • Auth included
  • RBAC / roles
  • Multi-tenant
  • Teams / orgs
  • Invitations

Data and infra

  • Rate limiting
  • Caching
  • Migrations
  • Seed data

Growth and ops

  • Feature flags

Quality and DX

  • E2E tests

Licensing and commercial

  • Open source
  • Free tier
  • MIT licensed