Server Routes

Server-side API endpoints using the server property on createFileRoute, HTTP method handlers (GET, POST, PUT, DELETE), createHandlers for per-handler middleware, handler context (request, params, context), request body parsing, response helpers, file naming for API routes.

TanStack 9655f24 7.9 KB Updated

File contents

TanStack/router/tree/main/packages/start-client-core/skills/start-core/server-routes commit 9655f243ed

Frequently asked questions

npx skillmds@latest add tanstack/server-routes