Routing
How Nooh maps your filesystem to HTTP routes — static paths, dynamic segments, groups, and more.
Nooh’s routing system derives your API’s structure from the layout of files in your routes directory. Each file is one route endpoint; its path determines the URL and its name suffix determines the HTTP method.
Routes
Static routes, index files, and how filenames become URLs.
Dynamic routes
URL parameters, splat segments, and optional segments.
Methods
Which HTTP methods are supported and how to express them.
Parameters
How to read and type path, query, and header parameters.
Route generation
What the compiler generates for each route and how to use it.