← Documentation · nv-lang/nova-polaris

Polaris documentation

Start here: overview.md — what Polaris is, a minimal server, the module map.

SectionCovers
overview.mdPolaris in one page; relation to the http core package
routing.mdRouter, path patterns {name}/{*rest}, MethodRouter, nest, fallbacks
handlers-response.mdServerRequest/ServerResponse, IntoResponse, typed extractors, StatusCode
extractors.mdFromRequest/FromPath/FromQuery/FromBody, typed routes (TypedRoute/*_typed/*_typed_h), the OpenAPI connection
middleware.mdwriting and composing Middleware, layer ordering
batteries.mdcors, compress, log, ratelimit
auth.mdBasic/Bearer/JWT, cookies, sessions
static-files.mdserving embedded/on-disk assets
websocket.mdWebSocket upgrade + protocol layer
serving.mdServerPolicy, accept loop, background tasks, graceful
errors.mdHttpError, status mapping, ?-ergonomics
roadmap.mdplanned, not implemented yet

Every code sample compiles as part of ../src/doc_samples_test.nv. For whole runnable applications built out of these pieces, see ../examples/ — ten examples, simplest to most complete, each with its own “full example” link on the matching page above.

Русская версия: README.ru.md · each section has a .ru.md sibling.