This repository is containing examples using Hono.
- basic - basic usage of a routing, middleware, and
Context
- blog - CRUD example
- durable-objects - simple example with Cloudflare Durable Objects
- jsx-ssr - JSX Sever Side Rendering with
JSX
Middleware - serve-static - example of
Serve Static
Middleware - pages - using Hono for Cloudflare Pages Functions
- deno - examples for Deno
- bun - examples for Bun
- validator -
Validator
Middleware
Install:
yarn install
Run:
yarn dev
deno run --allow-net hello.ts
or allow to read files on local disk:
deno run --allow-net --allow-read jsx.tsx
Install:
bun install
Run:
bun run hello.ts
- hono-minimal - Minimal project with Hono for Cloudflare Workers.
- compute-starter-kit - A starter template with Hono for the Fastly Compute@Edge.
Yusuke Wada https://github.com/yusukebe
Distributed under the MIT License.