SsuperslateDocs

Introduction

Learn what the SaaS Boilerplate includes and how to turn it into your product.

SaaS Boilerplate is a source-owned TypeScript foundation for building and operating a production-ready SaaS. It gives you a real application architecture—not a collection of disconnected snippets—so you can focus on your product domain.

Start here

How the parts connect

React web appRoutes, product modules, queries, and browser state.
Bun + Hono APISession-aware routes, policies, provider orchestration.
PostgreSQLdbmate migrations + SQL
ResendTransactional delivery
Object storagePresigned uploads

What you get

  • A React web app, Bun + Hono API, PostgreSQL, and shared Zod contracts.
  • Better Auth with password, magic-link, and optional Google sign-in.
  • Billing adapters for Polar, Stripe, and Dodo Payments.
  • Transactional email, R2/S3/GCS uploads, notifications, error monitoring, and PWA support.
  • Source-owned migrations, test coverage, operational runbooks, and optional agent skills.

The boilerplate starts usable with only Postgres. External providers are optional in local development and become available when configured completely.

See Included product surfaces for every shipped browser route and Notifications and marketing endpoints for the communication paths.

A product foundation, not a complete business

The generated product includes the authenticated application and its operational boundaries. You supply the product domain, marketing and legal surfaces, commercial policy, analytics choice, and any organization or background-work model. See Product scope.

Designed for a clean first run

Password authentication, verification, password reset, and magic-link sign-in work locally without third-party API keys. Provider-backed capabilities become available when their complete configuration is present.

How to use these docs

Read the setup guide first, then the tech stack, project structure, and included product surfaces. The feature and web UI guides explain what is already built; optional golden paths and agent skills provide maintained ways to extend it. The architecture and verification requirements apply regardless of the workflow you choose.

Common questions

On this page