Further reading
Want to learn more about the concepts used in this library? These resources are a good place to start.
Domain-Driven Design
Section titled “Domain-Driven Design”- Eric Evans, Domain-Driven Design: Tackling Complexity in the Heart of Software: the book that introduced the approach. See domainlanguage.com for the reference and other material.
- Vaughn Vernon, Implementing Domain-Driven Design: aggregates, value objects, repositories and domain events in practice.
CQRS and Event Sourcing
Section titled “CQRS and Event Sourcing”- Martin Fowler on Event Sourcing and CQRS.
- The Event Sourcing and CQRS patterns in the Azure Architecture Center, with their trade-offs.
- Greg Young, Versioning in an Event Sourced System: how to change events once they are stored.
NestJS
Section titled “NestJS”- The CQRS recipe of the NestJS documentation, whose
@nestjs/cqrsinspired this library. - The example application of this repository: a NestJS 12 application on PostgreSQL with aggregates, typed commands and queries, snapshots, subscribers, a publisher and
readAll.
MIT 2026 © Ocoda.