docs / getting-started

Buildgrain SaaS Web Kit

A Next.js starter for B2B SaaS: Google OAuth, multi-tenant workspaces, RBAC, plan & access, mail, files, admin console, docs, and tests. This documentation covers setup, architecture, and deployment.

Quick start

pnpm
git clone buildgrain-saas-web-kit && cd buildgrain-saas-web-kit
pnpm install && pnpm db:setup && pnpm db:seed
pnpm dev   # http://localhost:3000

Stack

9 runtime deps

Every runtime dependency across the monorepo, with its installed version and license. Generated from the installed packages by pnpm sync:stack-manifest — not hand-written — and drift-tested in CI. Zero copyleft in runtime deps; a test enforces the claim. Check it against the lockfile yourself.

PackageVersionLicenseUsed by
@supabase/ssr0.12.0MIT@buildgrain/auth, web
@supabase/supabase-js2.108.1MIT@buildgrain/auth, web
drizzle-orm0.45.2Apache-2.0@buildgrain/auth, @buildgrain/db, web
lucide-react1.17.0ISCroot
next15.5.21MITweb
postgres3.4.9Unlicense@buildgrain/db
react19.2.7MITroot, web
react-dom19.2.7MITroot, web
zod4.3.6MITweb