type: architecture
status: active
timestamp: 2026-06-20
tags: [architecture, api, hono, worker, umbrella]

API umbrella — one Hono Worker at api.oriz.in

Single Hono Worker at api.oriz.in serves all family API routes See the decision file for why.

API umbrella — one Hono Worker

Shape

api.oriz.in is a single Cloudflare Worker running Hono, checked in at apps/api/ (inline in the master repo, not a submodule). Every API route in the family lives there as apps/api/src/routes/<service>/. wrangler.jsonc declares custom_domain: api.oriz.in. The Worker exports type AppType = typeof app from src/index.ts.

Routes layout

Edge-compatible libs (Worker-only)

Cross-refs


Edit on GitHub · Back to index