
PDF · 5 pagesFree
The TypeScript Architecture Cheat-Sheet
The 10 architecture decisions that keep a Node/TS codebase from rotting into mud — where business logic goes, when to abstract, Result types vs throwing, idempotency, and module boundaries. A one-page reference distilled from The Conscious React & The Conscious Node. Pin it next to your editor.
What's inside
- The 10 architecture decisions that keep a Node/TS codebase from rotting into mud — on one swipeable reference.
- The dependency rule in one sentence — and the 80% of clean-architecture value it buys you.
- "Result types vs throwing" — when each is right, and where domain errors end and system errors begin.
- "When does an abstraction earn its keep?" — the test that kills over-engineering before it starts.
- Vertical slices vs layer folders — why feature folders win as the team grows.
- Idempotency & safe retries — dedupe on a key so "payment processed" never runs twice.
Get the cheat-sheet
Subscribe to the newsletter and you'll get the PDF along with weekly production-grade React & Node.js architecture patterns.