CQRS in NestJS
summary
Explains how to implement CQRS-style command-based architecture in NestJS using CommandBus. Starts from a small app built with a classic service-layer, then refactors it to use CommandBus and compares advantages and disadvantages of each approach to show when and how to use CommandBus in NestJS applications.
AI-written summary · about
chapters (10)
- 0:00CQRS intro
- 1:47CQRS theory and benefits
- 9:57Implementing CQRS
- 17:52Installing CQRS packages
- 21:04Event handling benefits
- 26:49Online store demo
- 31:33Read/write separation
- 34:05Command drawbacks
- 39:33CQRS pitfalls in NestJS
- 41:00Q&A
related talks
38mBuild modern and scalable Node.js Web Applications with Nest
01h 08mDeep Dive Into NestJS
26mBuilding a platform: NestJS from the ground up
43mKey-Value, Event-Sourcing, Cqrs, Pub/Sub as a Service, Java, Javascript
30mBeyond the DOM: Sane Structure for JS Apps
01h 30mServer-side JavaScript with Nashorn and Spring
24mChatbots in JS: Overview and implementation
44mBuilding Automation in the Browser: An Experience Report
