Basic API
The examples/basic-api package shows the generated app shape for a simple Routa API.
Run It
Section titled “Run It”From the repository root:
pnpm installpnpm --filter basic-api devRoutes
Section titled “Routes”src/routa.tssrc/routes/status/route.tssrc/routes/status/schemas.tssrc/routes/users/route.tssrc/routes/users/schemas.tssrc/routes/users/$userId/route.tssrc/routes/users/$userId/schemas.tssrc/routes/users/$userId/posts/route.tssrc/routes/users/$userId/posts/schemas.tsUse this example to learn the baseline route-file pattern, route-local schemas, and generated metadata in .routa/.