Cav
Web server primitives for Deno.
Status: Ready to play with, but not ready for production.
Goals
- It should do the basics
- Routing
- Static asset serving
- Signed cookies
- Web sockets
- Form and JSON parsing
- De/serialization of most JS data types, including Dates, Maps, Files…
- Runtime bundling for browser-side TypeScript
- Works with frontend frameworks like Preact
- It shouldn’t require special configs, setups, or tooling
- No CLI or config files
- No dictated project structures
- Client functions should use types imported from the server to fully type
requests and responses
- End-to-end typesafety
- Compatible with Zod
- Its syntax should be functional and declarative
- Immutable, schema-like Router and Endpoint definitions
- No middleware
- Functions all the way down
- It should be as independent as possible
- No third-party dependencies
- Deployments should be simple
- Deno Deploy without a build step