Guides
Deploy
Upload database.ts and api/**/*.ts to Starbase.
From a linked project folder:
The CLI reads .robodev, collects database.ts and every .ts file under api/, and POSTs them to /v1/projects/:id/deploy. Starbase compiles the files, syncs the schema, and registers routes on the project host.
Destructive changes
If the plan would drop tables or columns, deploy returns 409. The CLI prints the SQL and asks for confirmation. Skip the prompt with --force.
Project hosts
- Local: http://{projectId}.localhost:4000 (or {projectId}.localtest.me:4000 if *.localhost does not resolve).
- Production: https://{projectId}.robodev.povio.dev.
Successful deploys print the API URL, docs URL, schema operations, and registered routes.