Skip to content

Commit b973046

Browse files
PAMulliganclaude
andauthored
docs: add Express-to-Hono migration guide (#20) (#124)
Add docs/migration/from-express.md mapping every common Express pattern to its Hono/Nerva equivalent: app setup and middleware registration, route definition, request/response handling, middleware patterns, error handling, route grouping, static files, and environment/config. Includes an Express to Hono cheat-sheet table, a porting-gotchas checklist, and a section on what Nerva layers on top of Hono (pipeline, agents, skills, templates). Examples are grounded in the generated Node and Cloudflare snippets (Zod-validated config, c.env bindings, app.onError with typed errors, chained Hono sub-apps). Link the guide from the README documentation index. Fixes #20 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 35702f8 commit b973046

2 files changed

Lines changed: 496 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ Nerva is the backend counterpart in a family of Claude Code-integrated developme
200200
| Document | Location | Description |
201201
|----------|----------|-------------|
202202
| Quickstart | [`docs/onboarding/quickstart.md`](docs/onboarding/quickstart.md) | Get your first API running |
203+
| Migrate from Express | [`docs/migration/from-express.md`](docs/migration/from-express.md) | Express → Hono cheat sheet and porting guide |
203204
| Architecture | [`docs/onboarding/architecture.md`](docs/onboarding/architecture.md) | System architecture overview |
204205
| Troubleshooting | [`docs/onboarding/troubleshooting.md`](docs/onboarding/troubleshooting.md) | Common issues and solutions |
205206
| Pipeline guide | [`docs/schema-to-api/README.md`](docs/schema-to-api/README.md) | 10-phase pipeline deep dive |

0 commit comments

Comments
 (0)