The fullstack recipe creates a server-side rendered app with API routes.
pnpm create @beatzball/litro my-app
# choose: fullstack
my-app/
pages/
index.ts ← home page
about.ts ← about page
server/
api/
hello.ts ← GET /api/hello
public/
app.ts
nitro.config.ts
vite.config.ts
/api/hello API endpointdefinePageData server data fetching<litro-link> for SPA navigation