Event Sourcing & Dynamic Consistency Boundary on the Edge
A restaurant order management demo built with TanStack Start, deployed to CloudflareWorkers via the Vite plugin, backed by PostgreSQL through Hyperdrive, and powered byfmodel-decider for pure functional event sourcing with DCB.
Every state change is captured as an immutable event. Full audit trail, time-travel debugging, and reliable replay built in.
DCB pattern with tag-based event streams. Optimistic concurrency control without rigid aggregate boundaries.
Deployed to the edge via @cloudflare/vite-plugin. SSR, server functions, and durable Workflows running globally.
Postgres as the event store, accelerated by Cloudflare Hyperdrive for connection pooling and low-latency queries.
Full-stack React framework with type-safe file-based routing, server functions, and streaming SSR.
Pure functional domain modeling with deciders, projections, and command/query handlers from the fmodel library.
