S SaaS Boilerplate
← Docs

Getting started

Clone the repo, run docker compose, and boot the dev servers.

Five commands. That is the whole quickstart.

Prerequisites

  • Bun 1.3 or newer
  • Docker Desktop (for the Postgres + Redis + Mailpit compose stack)

Steps

bun install
bun run docker:up
cp .env.example .env
bun run db:migrate
bun run db:seed
bun run dev

The API is at http://localhost:3000, the web app at http://localhost:5173, and Mailpit at http://localhost:8025.

Next

  • Read the AGENTS.md at the repo root — it lists every landmine we have already tripped
  • Wire your production .env (AUTH_SECRET, DATABASE_URL, DUITKU_* if you use it)
  • Ship