Agent SaaS Starter

Quickstart

Start PostgreSQL, generate signing keys, and run every local service.

Prerequisites

  • Rust 1.94 or newer
  • Bun 1.3 or newer
  • PostgreSQL
  • OpenSSL

Configure

From the repository root:

cp .env.example .env
createdb agent_saas_starter
bun install
bun run keys:dev

The key script writes a local RS256 keypair under .local/. Both files and .env are ignored by Git.

Run

bun run dev
ServiceLocal URL
Product apphttp://localhost:3000
Landinghttp://localhost:3002
Documentationhttp://localhost:3003
Rust APIhttp://localhost:4000
MCPhttp://localhost:4001/mcp

The API applies embedded PostgreSQL migrations at startup.

Verify

bun run check

That command lints, type-checks, builds all three web apps, then formats, checks, lints, and tests the Rust workspace.

On this page