saasprokit

Welcome

Documentation for the SaaSProKit boilerplate

Welcome to SaaSProKit — a production-grade Next.js 16 SaaS monorepo with multi-organization support, Better Auth, Prisma + PostgreSQL, and Stripe billing per organization. This site is kit-docs (SaaSProKit's own docs, port 3006). apps/docs is the empty customer Fumadocs starter (port 3004). pnpm run setup deletes this docs/ tree.

What is SaaSProKit?

A SaaS foundation that includes:

  • Multi-organization support with dual RBAC (platform admin + org roles)
  • Authentication (email, OAuth, magic links, 2FA)
  • Stripe billing (subscriptions, webhooks, customer portal)
  • Locale-based routing with dictionary i18n
  • Next.js 16, React 19, TypeScript, Tailwind CSS
  • Vitest unit tests and Playwright E2E

The Features page marks each item Implemented, Partial, or Planned — read that before treating a checkbox as done.

Quick Navigation

New? Start Here

  1. Getting Started — Clone, setup CLI, Docker Compose, migrate, seed
  2. Project Structure — Apps, packages, and routes

Building Your Product

  • Features — Feature checklist with status

Deployment & Infrastructure

Learn More

  • Authentication — Better Auth setup and flows
  • Database — Prisma schema overview
  • Payment — Stripe billing integration
  • Testing — E2E and unit test catalog
  • Email — Email templates and setup
  • SEO — SEO checklist and optimization

Start with Getting Started.

On this page