Skip to content

Quickstart

New here? This is the only page you need. Ten minutes, copy-paste, running site.

Terminal window
npx create-startplate my-product
cd my-product
npm install

Copy .env.example to .env and fill the minimum for local dev:

Terminal window
TURSO_DATABASE_URL="file:./local.db"
PAYMENT_PROVIDER="dodo"
SITE_URL="http://localhost:4321"

Local SQLite file — no Turso account needed to start. Switch to a hosted URL when you deploy.

Terminal window
npm run dev

Open http://localhost:4321. You get: landing page, pricing page, contact page, auth flows, and checkout wiring — all working against your local DB.

Terminal window
# fresh DBs first (file DBs persist between runs)
rm -f /tmp/startplate-*.db
npm test

22 tests: auth lifecycle, payments (checkout + webhook + upgrades), admin guard, receipt email, schema migration.