saas-multitenant-boilerplate
Complete boilerplate for building a secure multi-tenant SaaS. Node.js (NestJS/Express), Prisma, PostgreSQL, JWT, roles & permissions. Client isolation, API keys and admin dashboard (Next.js).
boilerplatepostgresqlsaasin-developmentauthentificationnestjsprismamultienantnextjs
UnknownRepo
Overview
This boilerplate provides a complete starter template for building a multi-tenant SaaS application where multiple customers share the same infrastructure while keeping their data isolated. It includes a Node.js backend with NestJS or Express, PostgreSQL database with Prisma ORM, authentication via JWT, role-based access control and a Next.js admin dashboard for managing tenants and permissions.
Features
multi-tenant architectureclient isolationapi-keysroles-and-permissionsadmin-dashboardjwt-authentication
Feature Flags
userDashboardauthenticationauthorizationteamsOrgsmultitenancy
Recommended Use Cases
saas-applicationsmulti-tenant-platformssecure-api-services
Frontend
next.js
Backend
nestjsexpressnode.jsprisma
Auth Providers
jwt
Deployment Targets
None
Payment Providers
None
Quick Facts
Stack
Framework
nestjs
Language
typescript
Database
postgresql
Auth
jwt
ORM
prisma
Data Layer
Databases
postgresql
ORM
prisma
UI Stack
Developer Experience
Docker
No
Tests
No
Quickstart
No
env.example
No
Pricing
Classification
unknown
Selected
โ
Notes
No clear pricing signals