Launch price — $99 (goes to $149 soon)

Ship a multi-tenant B2B SaaS this weekend.

Stop rebuilding auth, organizations, RBAC, billing, and API keys from scratch on every project. SaaS Starter gives you a production-ready Next.js 15 foundation so you can ship your idea — not the infrastructure.

Buy on Gumroad — $99

One-time payment · Perpetual license · Instant download

3-min walkthrough demo

Register → org → invite member → API key → /api/v1/projects

Save 40–80 hours of groundwork.

Auth, multi-tenancy, RBAC, billing hooks, API keys, and audit logs are the same on every B2B SaaS project. Stop rebuilding them. Start with SaaS Starter and spend your weekend on what makes your product unique.

40–80 hrs
saved on infra
0 lines
of auth boilerplate
7 modules
production-ready
1 weekend
to your first feature

Everything a B2B SaaS needs, already wired up.

Each module is production-quality, fully typed, and designed to extend — not a toy example.

Free Lite
🔐

Authentication

Email/password + OAuth (Google) via Auth.js v5, bcrypt, JWT sessions.

Free Lite
🏢

Multi-tenancy

Organizations, memberships, tenant-scoped data — all data gated by organizationId.

Free Lite
🛡️

RBAC

Owner / Admin / Member roles with a central permission matrix (lib/rbac.ts).

💳

Billing-ready

Subscription model, Stripe webhook handler, and a plans UI — just add your keys.

🔑

API Keys

SHA-256-hashed keys shown once; versioned public API at /api/v1/* with key auth.

📝

Audit Logs

Every mutation records who/what/when, scoped per org. Drop-in compliance trail.

🚀

1-Click Deploy

Vercel deploy button provisions a Neon Postgres DB, runs migrations, seeds demo data.

🧩

Typed API Layer

route() wrapper, Zod validation, ok()/err() helpers — add a new module in minutes.

What's included (full version)

Not a skeleton. Every file below is implemented and tested end-to-end.

Module / FileWhat it does
Prisma schemaUser, Account, Session, Organization, Membership, Invitation, Subscription, ApiKey, Project, AuditLog
Auth.js configCredentials + Google OAuth, JWT strategy, Prisma adapter
MiddlewareRoute-level session guard for /dashboard and /settings
Tenant isolationlib/tenant.ts resolves { userId, organizationId, role } on every request
RBAClib/rbac.ts — can() / assertCan() + permission matrix
Audit log helperlib/audit.ts — one line to record any mutation
API-key systemGenerate, hash, prefix, verify — lib/api-auth.ts
Stripe webhookProduction-grade signature verification (HMAC-SHA256, constant-time, replay-protected); add your Stripe keys to go live
Public APIapp/api/v1/projects — shows the key-auth pattern end-to-end
Settings UIMembers, API keys, Billing pages wired to route handlers
DashboardOverview + recent audit activity, projects CRUD module
Seed scriptDemo org + user → owner@acme.test / password123 in one command

Built with

Next.js 15TypeScriptPrismaAuth.js v5Tailwind CSSPostgreSQLStripe (skeleton)Zod

Lite (free) vs Full ($99)

Lite is everything you need to validate an idea. Full is the complete production stack — plus support and lifetime updates so you never start from scratch again.

CapabilityLite — freeFull — $99
Authentication (email/password + OAuth)
Multi-tenancy (orgs + members)
RBAC (Owner / Admin / Member)
Projects CRUD module
Dashboard overview
Stripe billing + webhook (HMAC-verified)
API keys (hashed) + versioned public API
Per-org audit logs
1-click Vercel deploy + Neon provisioning
Typed API layer (route() + Zod)
90-second setup walkthrough (Loom)
Deploy help
Priority email support
Lifetime updates

Get the full version — $99

One-time payment · Perpetual license · Lifetime updates included

Simple pricing. One-time payment.

No subscriptions. No per-seat fees. Own it forever.

Free Lite
$0
Forever free on GitHub
  • Email/password + OAuth auth
  • Multi-tenancy (orgs + members)
  • RBAC (Owner / Admin / Member)
  • Prisma schema (core models)
  • Next.js 15 App Router
  • ✗ Billing + Stripe webhook
  • ✗ API keys + /api/v1
  • ✗ Audit logs
  • ✗ 1-click Vercel deploy
  • ✗ Typed API layer + Zod
Get free on GitHub
BEST VALUE
Full Version
$99$149Launch price
One-time · instant download
  • Everything in Free Lite
  • Stripe billing + HMAC-verified webhook
  • API keys (hashed) + /api/v1 public API
  • Per-org audit log module
  • 1-click Vercel deploy + Neon provisioning
  • Typed route() wrapper + Zod validation
  • 90-second setup walkthrough (Loom)
  • Deploy help
  • Priority email support (1 business day)
  • Lifetime updates — free forever
Buy on Gumroad — $99

Frequently asked questions

What license do I get?

A perpetual, personal-use license to build unlimited SaaS products for yourself or clients. You may not resell the boilerplate itself.

Which database does it support?

PostgreSQL via Prisma. Works with Neon (free tier available), Supabase, or any managed Postgres.

Is Auth.js v5 production-ready?

Auth.js v5 (NextAuth v5) is in stable beta and widely used in production. The starter pins a specific beta release and will track stable on release.

Do I need a Stripe account to use it?

No. Stripe is a skeleton — the webhook handler and Subscription model are wired but the actual Stripe SDK calls are left as clear TODOs. Flip it on when ready.

How different is the free Lite version?

Lite includes auth + multi-tenancy + RBAC — enough to validate an idea. Full adds billing, API keys, audit logs, 1-click deploy, the typed API layer, priority support, and lifetime updates — the complete production stack.

What does "lifetime updates" mean?

Pay once, get every future update to the boilerplate at no additional charge. When new modules or Next.js major-version upgrades land, you get them free.

What does priority email support cover?

Questions about setup, customisation, and deployment — answered within one business day. Lite users are welcome to open GitHub issues, but response time isn't guaranteed.

Will this work with Next.js 15 + React 19?

Yes — it was built on Next.js 15 App Router with React 19 from day one. No legacy pages/ router.

Ready to ship this weekend?

Stop starting from zero. Get the complete production stack — billing, API keys, audit logs, deploy walkthrough, priority support, and lifetime updates — all for a single $99 payment.

Buy on Gumroad — $99

Price goes to $149 after launch week · One-time payment · Instant download