-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add backend-hono module #7
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomersmodule: backendRelated to backend frameworks, APIs, server logic, or routing.Related to backend frameworks, APIs, server logic, or routing.new-modulebuild something herebuild something here
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersmodule: backendRelated to backend frameworks, APIs, server logic, or routing.Related to backend frameworks, APIs, server logic, or routing.new-modulebuild something herebuild something here
Summary
Add Hono as a backend option — a lightweight, edge-first HTTP framework with an Express-like API.
Why
Hono has become the go-to choice for projects targeting Cloudflare Workers, Bun, and Deno.
It's the natural pairing for a
deployment-cloudflaremodule (see related issue) and a common request from the community.Files to generate
src/index.ts— Hono app with CORS, health endpoint, typed routestsconfig.json.env.exampleImplementation hints
Add
packages/modules/src/backend/hono.ts→ use
express.tsas the structural template, swap deps and file contentKey deps:
honoThe generated entry file should use:
export default app(standard for edge runtimes)Conflicts with:
Register in:
index.tsregistry-loader.tsgraph-definition.tsContributor guidance
Refer to CONTRIBUTING.md → "Adding a New Module"
Acceptance criteria
foundation createlists Hono as a backend optionsrc/index.tstype-checks with zero errors