Tag: foambyte
All the articles with the tag "foambyte".
-
How I Use Claude Code on a Production SaaS Without Vibe Coding
The guard rails behind AI-assisted development at Foambyte: CLAUDE.md as a contract, pinned skills, permission denies, diff review, audits and deploy gates.
-
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.
-
Migrating from SQLite to PlanetScale Postgres 18 and TimescaleDB on Cloudflare Workers
Why Foambyte moved from SQLite to PlanetScale Postgres 18 with TimescaleDB through Cloudflare Hyperdrive, and the playbook for a short, verifiable cutover.
-
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.
-
One React Codebase for Web, iOS and Android: Vite, TanStack and Capacitor
Why I built Foambyte as a React 19 SPA packaged with Capacitor instead of React Native or Next.js, and the TanStack Query pattern that keeps it maintainable.
-
Building a Recipe Calculation Engine in TypeScript: IBU, SRM, Fermentability and FG
Designing Foambyte's brewing recipe engine: an ordered chain from volumes to OG, IBU, attenuation, FG, ABV and SRM, built as pure TypeScript functions.
-
Self-Hosting a Turborepo App with Docker, Bun, nginx and Traefik
How Foambyte's React SPA and Hono API ran on a VPS: multi-stage Docker builds for a Turborepo monorepo, a Bun runtime, nginx, Traefik and Docker Swarm.
-
From Path Aliases to a Real Package: Lessons from a pnpm + Turborepo Monorepo
How Foambyte's React app and Hono API share code in a pnpm + Turborepo monorepo, why path aliases broke Docker builds, and the setup that works.
-
Offline-First Editing with TanStack Query Persistence and Last-Write-Wins Patches
How Foambyte kept recipe edits working offline: a persisted TanStack Query cache, a last-write-wins patch queue, and one merge function shared with the server.