You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Hono.js CommonGrants API template so a developer can stand up a working CommonGrants API from it. It ships in common-grants/cg-api-template-hono as a standalone GitHub template repository. ADR 0029 (#1143, merged) retires cg init, so the template does not go through the CLI.
The template keeps CI comparable to the existing Express and FastAPI templates: one job installs the committed dependencies, runs static checks, builds, tests with coverage, and performs the high/critical dependency audit. Dependency updates are deliberate and manual. The generated application does not embed the CommonGrants CLI or run cg check spec; checker discrepancies discovered during verification remain tracked in their owning upstream issues. These checks do not certify Express/FastAPI replacement readiness or authorize their removal in #1186.
This template is a prerequisite for the language-guide update (#1184) and, through that issue, CLI retirement (#1185), but does not gate the Express/FastAPI deletion ticket.
Acceptance criteria
A Hono.js template repo exists and generates a running CommonGrants API
Template integrates the TypeScript SDK for request and response validation
Template auto-generates an OpenAPI spec and serves it at /openapi.json
Ordinary CI installs locked dependencies and runs static checks, build, tests with coverage, and the high/critical dependency audit
Running API: Node 24 and Hono, list/detail/search plus health, bundled sample data behind a three-method repository interface. PORTING.md walks the swap to real data.
SDK validation: requests validated with the SDK's Zod schemas, every success envelope parsed with its SDK schema before it's sent, protocol-shaped 400/404/500.
OpenAPI: generated from the same schemas and served at /openapi.json.
CI: one job with a frozen install, static checks, build, tests with coverage, and the high/critical audit. Green on the merged head (run).
The Core/SDK opportunity-nullability mismatch found during verification stays tracked in #1192. This unblocks #1184.
Activity
[-][Dev Tool] Create a Hono.js API template[/-][+][Dev tool] Create a Hono.js API template[/+]docs(adr): separate API templates from monorepo (#1143)
SnowboardTechie commentedon Sep 17, 2026
common-grants/cg-api-template-hono#1 implementing this work is no open for review
feat: add CommonGrants Hono API template (#1)
SnowboardTechie commentedon Sep 23, 2026
Done. The template lives at common-grants/cg-api-template-hono; PR 1 merged today.
PORTING.mdwalks the swap to real data./openapi.json.The Core/SDK opportunity-nullability mismatch found during verification stays tracked in #1192. This unblocks #1184.