Build backend APIs with JSX components.
The framework that makes server code look beautiful.
Familiar syntax, powerful features, beautiful code.
Nest middleware naturally. Each component wraps its children, creating a clear request flow.
Different routes can use different databases. Perfect for separation of concerns.
Routes are files. Dynamic params use [brackets]. Nested folders create nested paths.
Return responses as JSX. Status codes, headers, and body in a declarative format.
Real code from this demo project.
HTTP methods are exported functions. Return JSX to send responses.
Middleware wraps routes using JSX nesting. Data flows through props.
Use _config.tsx to apply middleware to all routes in a directory.