6. Keepin' Tracks — Cloudflare edge stack
Date: 2026-05-03
Status
Accepted
Context
Keepin' Tracks is the consumer web app for personal wealth, mind, and health data. It must scale on a modest budget, deploy globally, and stay aligned with our Cloudflare-first posture. Production hostname: personal.keepintracks.com.
Decision
- Frontend: React Vite app in
apps/tracks-web, responsive web-first (PWA-ready later), deployed to Cloudflare Pages with custom domainpersonal.keepintracks.com(attach in Cloudflare Pages → Custom domains). - API: Hono on Cloudflare Workers in
apps/tracks-api, same zone/account; routes under/api/v1with/healthfor probes. - Local dev: Vite dev server proxies
/apiand/healthtowrangler devon port 8787.
Consequences
- Positive: Single vendor edge story, low ops overhead, Bun monorepo consistency.
- Positive: Clear split between static UI and Worker API for future Hyperdrive, Queues, and R2 bindings.
- Tradeoff: Workers runtime constraints (no Node APIs); use Web APIs and compatible libraries.
Links
- Keepin' Tracks architecture
- ADR 0009 — canonical hostnames and local Wrangler deploy