Posted inProgramming
Domain-Driven Design trong TypeScript với NestJS: Bounded Context, Aggregate và Domain Event cho Môi trường Production
Khi service NestJS phình lên thành những con quái vật 800 dòng với circular dependency, vấn đề không phải là TypeScript — mà là anemic domain model. Bài viết này hướng dẫn triển khai Domain-Driven Design với Bounded Context, Aggregate và Domain Event trong NestJS theo các pattern thực tế từ môi trường production.
