After this course, you can
- Find where your code and the business use different words, and fix the names
- Split one app into bounded contexts without splitting the deployment
- Model money, orders and seats so that
tscrefuses the mistakes that used to reach buyers - Keep a business rule in one aggregate, and keep it correct when two buyers arrive in the same second
- Publish domain events through an outbox, and answer slow pages from read models
- Say when a DDD pattern costs more than it saves
The course is free.
Who it is for
Developers who write TypeScript for Node.js every day and know the words entity and aggregate, but haven’t carried DDD through one real codebase.
- You have built layered apps with Express and PostgreSQL, and you know SQL and transactions
- It covers both halves of DDD, from shared language and bounded contexts to aggregates, events and read models
- It leaves out microservices, DDD frameworks and full event sourcing, which is studied but not used
- The course teaches the TypeScript features DDD leans on (branded types, discriminated unions, private constructors) where it first needs them
- No accounts or keys needed: the payment provider and the email service are fakes on your laptop
How it works
- You refactor TinyTickets, a ticket site in its third year, from a starter project organized by technical layer
- Each module opens with something that goes wrong at TinyTickets, and you cause the failure before you fix it
- Every step type-checks and its tests pass on Node.js 26, TypeScript 7.0 and PostgreSQL 18
- Each module ends with review questions, an exercise and a cheat sheet
- The code for every module is in the course repository, one folder per module