Postgres · file-based APIs · one command
Write a Postgres schema and HTTP handlers. Create from a starter in the dashboard or with robodev create. Space, Auth chat, and Marketplace add a local Povio UI in apps/fe; the project host is APIs.
01
Schema in TypeScript
Declare tables with Drizzle in database.ts. Deploy creates the named database and reconciles columns — no migration files.
02
File-based APIs
Export get or post from api/planets.ts and it becomes GET /api/planets. Zod validates query, body, and response.
03
Hosted per project
Each project gets its own host for the UI and APIs, tenant Postgres, and /_robodev/docs. Edit in the dashboard or locally.
database.ts
Default-export defineDatabase. Starbase creates that Postgres database on first deploy and keeps tables in sync after that. Destructive changes ask for confirmation, or pass --force.
api/*.ts
defineApi gives you a typed db, parsed query and body, and optional response schema. Filename is the path. Open /_robodev/docs on the project host to try the generated OpenAPI.
Lovable · Bolt · v0
Host the UI on Robodev, or keep using Lovable, Bolt, and v0 against the same project host. Those tools should not install @supabase/supabase-js. Point fetch at the project URL (or use the hosted same-origin app) and keep database.ts / api/*.ts on Robodev. The docs page has a prompt you can paste into the tool. For in-app sign-in, use Robodev Auth (Bearer tokens) at /docs/auth.
Pricing
1
Sign in
robodev auth opens Starbase in the browser and stores tokens in ~/.robodev.
2
Create
Create from a starter in the dashboard, or robodev create. Either path deploys live APIs.
3
Iterate
Edit APIs in Code and Save, or locally with robodev deploy. Space, Auth chat, and Marketplace UI is bun in apps/fe.