1. Export your Hono instance
forkrail detects Hono from package.json and runs any exported { fetch } object through Web Request and Response automatically — no @hono/node-server wrapper required.
import { Hono } from 'hono'const app = new Hono()app.get('/', (c) => c.json({ service: 'edge-api', status: 'ok' }))app.get('/items/:id', (c) => { const id = c.req.param('id') return c.json({ id, country: c.req.header('x-vercel-ip-country') ?? 'unknown' })})export default app2. Deploy to forkrail
forkrail deployforkrail deploy --prodPrefer one file per endpoint instead of a single Hono router? Drop Web Fetch handlers directly inside api/ — see Functions in api/.
Related documentation
Ready to deploy your Hono project inside your own AWS account?
Quickstart