SaaS Starter Kit is a Next.js and React boilerplate with teams, enterprise sign-in, audit logging, webhooks, and payments wiring so builders can focus on product-specific logic.
Overview
SaaS Starter Kit packages common multi-tenant SaaS concerns into a customizable Next.js application. Users get account creation, email and password sign-in, magic links, OAuth providers, team creation, invitations, role management, and profile updates alongside internationalization and dark mode.
Enterprise-oriented pieces include SAML single sign-on and directory sync through integrated identity components, audit logs for in-app activity, and outbound webhooks for CRUD-style events. Stripe handles payments; optional reCAPTCHA, Sentry, and security headers appear in configuration guides when you enable those services.
The stack uses PostgreSQL with Prisma for data, NextAuth.js for authentication routes, Tailwind CSS for styling, and TypeScript throughout. Local development can rely on Docker Compose for Postgres, environment files cloned from an example template, and Prisma migrations or push commands to prepare the schema.
End-to-end tests use Playwright against the running app. The boilerplate is meant as a starting point rather than a hosted product, with feature toggles documented for authentication, webhooks, billing hooks, and observability integrations.
Key features
- Email, magic link, and OAuth sign-in
- SAML SSO and directory sync
- Teams, invites, and roles
- Audit logging integration
- Svix-powered webhooks and events
- Stripe payment hooks
- Prisma and PostgreSQL data layer
- Docker Compose for local database
Use cases
- Enterprise B2B SaaS greenfield apps
- Teams needing SAML and SCIM quickly
- Products requiring audit and webhooks
- Founders validating multi-tenant UX
- Next.js shops standardizing auth patterns