Postgres · file-based APIs · one command

Your backend is
a few TypeScript files.

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.

terminal

npm i -g robodev
robodev auth
robodev create my-space-app
cd my-space-app/apps/fe
bun install
bun openapi:gen
bun dev

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

The database is a file in your repo

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.

Database guide →

database.ts

import { defineDatabase, pgTable, text, uuid } from "@robodev-ai/sdk";
export const planets = pgTable("planets", {
id: uuid("id").primaryKey().defaultRandom(),
name: text("name").notNull(),
});
export default defineDatabase({
name: "tiny",
tables: { planets },
});

api/planets.ts

import { planets } from "../database";
import { defineApi, z } from "@robodev-ai/sdk";
export const get = defineApi({
response: z.array(z.object({
id: z.string(),
name: z.string(),
})),
handler: async ({ db }) => db.select().from(planets),
});

api/*.ts

Handlers are just exports

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.

API guide →

Lovable · Bolt · v0

Use Robodev instead of Supabase

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.

Connect a frontend →

env

VITE_API_URL=https://{projectId}.robodev.povio.dev

Pricing

Free to start. Contact us to upgrade.

Free

$0

2 projects

3 members

Get started

Pro

$25 / month

10 projects

15 members

Contact to upgrade

Team

$99 / month

50 projects

50 members

Contact to upgrade

From zero to a running app

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.