Skip to content

mmendespro/spring-cqrs-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CQRS Spring Boot Project

This project is a demonstration of the Command-Query Responsibility Segregation (CQRS) pattern using Spring Boot.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Java 8 or later
  • Maven 3.6.0 or later

Installation

Project Structure

The project is divided into tree main components:

  • Command Side: Responsible for handling command requests and updating the state of the system.
  • Query Side: Responsible for handling query requests and providing a read-only view of the system's state.
  • Service Bus: With lazy load of queries resolvers and command handlers.

Built With

  • Spring Boot - The web framework used
  • Maven - Dependency Management

UML Component Diagram of CQRS

The diagram shows the main components of the CQRS pattern and how they interact with each other.

component-query-side.png component-command-side.png

UML Sequence Diagram of CQRS

Example of a sequence diagram that represents the Command Query Responsibility Segregation (CQRS) pattern implemented in this project:

cqrs-sequence-diagram.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published