Quickstart
-
Create a Routa project.
Terminal window pnpm create routa-ts@latest -
Enter the project and install dependencies if the create command did not install them.
Terminal window cd routa-apppnpm install -
Start development mode.
Terminal window pnpm dev -
Run the checks used before shipping.
Terminal window pnpm checkpnpm buildpnpm openapi:check
pnpm dev runs routa dev, which validates the route graph, writes .routa/routes.gen.ts, typechecks the project, and starts the internal development server.
Use src/routes as the source of truth for the HTTP contract.