all templates
SaaS

SaaS Starter

Auth, billing, and a dashboard — the first month of every SaaS, done.

A complete SaaS skeleton so you start at your product, not at login forms. Sessions, organizations, Stripe subscriptions and a settings area are wired end-to-end against a typed Postgres schema, with the same deploy pipeline the rest of the fleet uses.

What's inside

  • Magic-link + OAuth sign-in with server sessions
  • Stripe subscriptions with webhook reconciliation
  • Multi-tenant organizations, roles and invites
  • Settings, profile and billing pages prebuilt
  • Typed API routes over Drizzle migrations
  • Transactional email templates
  • Dark-mode design system included

Quickstart

$ git clone git@github.com:devai-io/saas-starter.git my-app$ cd my-app && bun install$ cp .env.example .env   # add Postgres + Stripe keys$ bun dev

from production

The same skeleton behind a production customer portal — trimmed down to the parts every product needs.