Production patterns for Hono v4+ backends with Bun, Drizzle ORM, Better Auth, Stoker, hono-openapi + Zod + Scalar, and TDD with Bun test runner. Use when building features, writing tests, reviewing code, or setting up auth/RBAC in modular monolith Hono projects. Apply whenever you see Hono route definitions, createRouter(), describeRoute(), Better Auth config, Stoker imports, or Bun test files in this stack. Also use when adding new modules, writing OpenAPI specs, or debugging auth middleware issues.
2026-03-18