Structure TypeScript backend features with clear module boundaries, shared definitions, and focused tests. It guides implementation and reviews while keeping request handling in routes and business logic in services.
- Adding a backend feature with consistent module organization
- Separating request handling from business logic
- Reviewing shared types and utilities