Introduction
Webroute explicitly draws hard boundaries between packages, such that they are entirely decoupled. This requires slightly rethinking how middleware, routing, request handling and client libraries all interact. Each package has been especially designed to do its sole task well and be easily interchangeable, avoiding much of the magic and vendor lock in of typical server-side frameworks.
Webroute is currently at an alpha stage. Packages are at various levels of stability.
Package | Purpose |
---|---|
Route | Build powereful and atomic web-standard request handlers |
Client | Create type-safe clients for any REST API |
Middleware | Middleware compatible with any framework |
Schema | Universal converters, parsers and infererence for any schema |
Router | Match incoming Request s to request handlers |
OpenAPI Spec (OAS) | Define, generate and infer OpenAPI schema without any codegen |