What problem does it solve? Building raw HTTP API endpoints inside a TanStack Start application requires knowing how to wire handlers to file-based routes, parse requests, and secure them correctly. This Skill provides the patterns for defining server routes with the server property on createFileRoute, so you can expose REST-style endpoints alongside your UI routes without a separate backend. ## Core Features & Use Cases - HTTP Method Handlers: Define GET, POST, PUT, and DELETE handlers that receive the raw Request object, route params, and middleware context. - Middleware Control: Apply middleware to all handlers at the route level or per-handler using createHandlers for fine-grained auth and validation. - File-Based API Routing: Map files like routes/api/users/$id.ts and splat routes ($.ts) to URL paths following TanStack Router conventions. - Use Case: You need a public webhook endpoint at /api/webhooks/stripe that parses a JSON body, verifies the caller via middleware, and returns a JSON response, while your SSR pages load the same data through server functions instead of fetching their own API. ## Quick Start Ask the AI to create a TanStack Start server route at src/routes/api/users.ts with GET and POST handlers that parse the request body and return JSON responses.