Questions tagged [cqrs]

CQRS is a core architectural principle that distinguishes between commands (data changes) and queries (data reads). For additional information and resources on CQRS, please refer to the 'about cqrs tag'. It should be noted that CQRS is not the same as Command-Query Segregation ([CQS]), although it does encompass this design principle.

Best practices for implementing "Event Sourcing" in the NestJS CQRS recipe

I've been exploring the best practices for implementing "Event Sourcing" with the NestJS CQRS recipe (https://docs.nestjs.com/recipes/cqrs). After spending time delving into the features of NestJS, I have found it to be a fantastic framework overall. Howe ...

Learn how to trigger an HTTP exception after a failed command in a saga with NestJS CQRS

Currently utilizing the NestJS CQRS pattern to handle interactions between User and UserProfile entities within my system. The setup consists of an API Gateway NestJS server along with dedicated NestJS servers for each microservice (User, UserProfile, etc. ...