Skip to content

This project is a demo of using CQRS and Event-Driven Architecture with DDD. Terraform and the Serverless framework have been used to handle the infrastructure and lambda function deployments.

Notifications You must be signed in to change notification settings

mata649/cqrs_on_aws

Repository files navigation

CQRS on AWS

This project is a demo of using CQRS and Event-Driven Architecture with DDD. Terraform and the Serverless framework have been used to handle the infrastructure and lambda function deployments. For events, we've got the Event Bus using SQS and SNS to handle the flow of information between different parts of the system.

Diagram

Diagram

Note

In this example, I have opted for a single database instead of two separate databases for the Command Query Responsibility Segregation (CQRS) implementation. The decision was made to keep the example straightforward and easy to understand. Introducing two databases might add unnecessary complexity, which could overshadow the primary focus of illustrating CQRS principles. Keep in mind that in a real-world scenario, the choice of using a single or multiple databases would depend on the specific requirements and complexities of the application.

About

This project is a demo of using CQRS and Event-Driven Architecture with DDD. Terraform and the Serverless framework have been used to handle the infrastructure and lambda function deployments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published