01 · Getting started
Quickstart
Ship a running Orbit dashboard in under 5 minutes. Three commands, and npm run setup handles everything else — Postgres, env files, migrations, even generating a better-auth secret.
Prerequisites
Node 20+ and either Docker (for the bundled local Postgres) or a Postgres instance you already have reachable.
Three commands
git clone https://github.com/were-orbit/orbit-starter.gitcd orbit-starternpm install && npm run setupnpm run devWhat npm run setup does
- Checks Node version and Postgres reachability (offers to start the bundled docker compose if not).
- Copies
.env.exampleto.envfor each app and prompts for any values you need to fill. - Auto-generates HMAC secrets (
BETTER_AUTH_SECRET, etc.) so you don't have to. - Runs migrations and regenerates the client — detects which ORM your scaffold uses and runs
prisma migrate deploy+prisma generateautomatically. - Offers to seed a demo workspace.
Next
- Prerequisites — more detail on what you need installed.
- Environment variables — every knob the kit exposes.
- OAuth — wiring up Google / Apple.
- Billing — Stripe / Polar / Dodo setup.