Quickstart
New here? This is the only page you need. Ten minutes, copy-paste, running site.
1. Scaffold
Section titled “1. Scaffold”npx create-startplate my-productcd my-productnpm install2. Configure
Section titled “2. Configure”Copy .env.example to .env and fill the minimum for local dev:
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.
3. Run
Section titled “3. Run”npm run devOpen http://localhost:4321. You get: landing page, pricing page, contact page, auth flows, and checkout wiring — all working against your local DB.
4. Verify
Section titled “4. Verify”# fresh DBs first (file DBs persist between runs)rm -f /tmp/startplate-*.dbnpm test22 tests: auth lifecycle, payments (checkout + webhook + upgrades), admin guard, receipt email, schema migration.
Next steps
Section titled “Next steps”- Deployment — ship to Cloudflare Pages free.
- Payments — connect Dodo and go live.
- Environment variables — every knob in one table.