Start

Starter project

What robodev create scaffolds, and the in-repo copy used for CLI development.

robodev create copies robodev-cli/template. That template is the starter project for every new app.

Layout

my-space-app

database.ts # defineDatabase + Drizzle tables
api/health.ts # GET /health
api/planets.ts # GET/POST /planets
api/rockets.ts # GET/POST /rockets
api/launch.ts # POST /launch
src/main.tsx # React UI
.env # VITE_API_URL (written by create/link)
.robodev # projectId + API URLs

In this repository

robodev-cli-starter is the maintained workspace copy of the same starter. It uses workspace:* for robodev and robodev-lib so you can exercise the CLI against a local Starbase without publishing.

terminal

cd robodev-cli-starter
STARBASE_URL=http://localhost:4000 STARBASE_FE_URL=http://localhost:3000 pnpm exec robodev auth
pnpm exec robodev link <projectId>
pnpm exec robodev deploy
pnpm dev