This repository contains examples that use Hono.
- basic - basic usage of routing, middleware, and
Context
- blog - CRUD example
- durable-objects - simple example with Cloudflare Durable Objects
- env-vars - example using environment variables with Hono in Typescript:
Bindings
&Variables
- jsx-ssr - JSX Server Side Rendering with
JSX
Middleware - hono-vite-jsx - Example of using
hono/jsx/dom
withvite
- serve-static - example of
Serve Static
Middleware - deno - Deno example
- bun - Bun example
- pages-stack - Zod + Zod Validator +
hc
+ React on Cloudflare Pages
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
Yusuke Wada https://github.com/yusukebe
Distributed under the MIT License.