Skip to content

example: add Hono in Zip example - #875

Open
mattenarle10 wants to merge 2 commits into
aws:mainfrom
mattenarle10:example/hono-zip
Open

mattenarle10 wants to merge 2 commits into
aws:mainfrom
mattenarle10:example/hono-zip

Conversation

@mattenarle10

Copy link
Copy Markdown

Issue #, if available: N/A

Description of changes:

This PR adds examples/hono-zip. It runs a Hono application on the managed Node.js runtime with Lambda Web Adapter. The application is a plain Node.js HTTP server that starts with @hono/node-server. The layout follows expressjs-zip.

Changes:

  • examples/hono-zip: the application, the SAM template, and a README. The application has two dependencies and no build step.
  • .github/example-matrix.json: a zip entry, so Verify Examples builds and boots the example.
  • .github/dependabot.yml: an npm entry for /examples/hono-zip/app.
  • README.md and docs/guide/src/examples/overview.md: the example is in the two lists.

One difference from expressjs-zip: GET / returns the request ID and the function name, not the full request context and Lambda context. The full contexts contain the AWS account ID.

Testing:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Run a Hono app on the managed Node.js runtime with @hono/node-server
behind Lambda Web Adapter. Add it to the zip matrix so Verify Examples
builds and boots it, and claim its manifest in dependabot.yml.
@mattenarle10
mattenarle10 requested a review from a team as a code owner October 8, 2026 16:12

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants