S
SaaS Starter
Next.js 16 · Paddle Billing · Multi-tenant

Ship your SaaS
in days, not months

A production-ready boilerplate with auth, multi-tenant organizations, Paddle subscription billing, feature gating, and transactional email — all wired up and ready to customise.

No credit card required to sign up

Everything included out of the box

Next.js 16 App Router
PostgreSQL + Prisma 7
Paddle Billing integration
Multi-tenant organizations
Team invites & roles
Feature gating
Resend email templates
Audit logging
Dark / light mode
Responsive dashboard
shadcn/ui components
Full documentation

The hard parts, already done

Every feature that takes weeks to get right — built, tested, and documented.

Authentication

JWT sessions in HttpOnly cookies. Protected routes via middleware. Signup and login wired end to end.

Multi-tenancy

Every user belongs to an Organization. Invite members by email. Owner, Admin, and Member roles enforced server-side.

Paddle billing

Subscription checkout via Paddle Billing API. Webhook handler for the full subscription lifecycle. Automatic org upgrade on payment.

Feature gating

Per-plan feature flags with a hasFeature() helper. Gate any route or component in one line. Upgrade CTA shown automatically.

Transactional email

Welcome, invite, subscription confirmed, and cancellation emails via Resend. Templates included. Never throws on failure.

100% TypeScript

Strict mode throughout. All DB types inferred from Prisma schema. No any, no shortcuts.

Built for global founders

Unlike most boilerplates that only support Stripe, this one is built on Paddle Billing — a Merchant of Record that handles global tax compliance (VAT, GST, sales tax) automatically. If you're outside the US or EU, or just want to avoid the tax headache, Paddle works where Stripe doesn't. The full Paddle Billing API integration — transactions, webhook lifecycle, custom_data passthrough — is already implemented correctly.

Ready to ship faster?

Sign up, explore the dashboard, and start building your product today.