Defy Architectural Uncertainty by Building Schrödinger's App
summary
Claim: a single TypeScript/Node.js codebase runs as a monolith during development and becomes microservices at deployment by configuration. Uses vertical feature slices, layered presentation/business/persistence, and feature-per-RPC procedures that Gar (an open‑source just‑in‑time architecture tool) generates. Features are stateless, async, use TypeScript readonly types for immutability, implement sagas for transactions, and avoid joins so the database can split (no DB joins). Demo shows moving BFF, reads, writes and notifications to separate Gar instances with no code changes.
AI-written summary · about
