Tag: hono
All the articles with the tag "hono".
-
Integration Testing a Cloudflare Workers API Against Real Postgres with PGlite
How Foambyte runs 330+ Vitest integration tests against an in-process Postgres 18 with PGlite in about 10 seconds, including multi-tenant isolation tests.
-
Hono on Cloudflare Workers: Leaving a Docker VPS and Getting the Middleware Order Right
Why I moved Foambyte's API from Docker Swarm to Hono on Cloudflare Workers, and the middleware chain for rate limiting, CAPTCHA, sessions and plan gating.
-
End-to-End Type Safety Without tRPC: A Shared Hono + Zod OpenAPI Contract
How Foambyte's React frontend and Hono API share one type-checked contract in a Turborepo monorepo: Drizzle, drizzle-zod, zod-openapi and shared route paths.
-
Choosing Authentication for a Web + Mobile SaaS: Why better-auth
Why Foambyte uses better-auth with Hono and Drizzle instead of Clerk, Auth0 or Supabase Auth, and how cookie sessions work across the web and Capacitor apps.