Hono
Build a web API for Hono in your browser: routing, the context, middleware, validation, errors, cookies and streaming, on the same fetch handler you would deploy to Cloudflare Workers, Bun, Deno or Node, graded by calling your routes.
- courses
- 3
- lessons
- 26
- follows
- the official docs
Courses
Everything a Hono app is made of, on one growing cats API: routes and their handlers, the context that reads a request and writes a response, middleware around the handler, validation, error handling, cookies, streaming, composition and tests. One lesson per page of the official docs' API and Guides chapters.
Routes and handlers
Around the handler
Growing the app
The middleware Hono ships, one lesson each, on the cats API from Basics: logging and request ids, CORS, body limits, ETags, secure headers and CSRF, then basic auth, bearer tokens, JWTs, and how to combine guards. Every lesson reads the docs' page for that middleware and grades what it does on the wire.
Seeing requests
Protecting the edge
Who is asking
One type shared by both ends of the wire: routes chained so their paths, inputs and responses become a type, a client built from that type alone, refusals and statuses the client can tell apart, and the same client inside tests and inside other services. The docs' RPC guide, section by section, on the cats API.