Skip to content

ratonegomez/insurance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 CQRS-Based Microservice with Spring Boot 3 & Axon Framework

📌 Project Overview

This project implements a CQRS-based microservice using:

  • Java 21 & Spring Boot 3 ⚡️
  • Axon Framework for Event Sourcing 📜
  • JPA & PostgreSQL for persistence 🗄️
  • Docker for containerization 🐳
  • Hexagonal Architecture, DDD, and ATDD for clean code & scalability ✅
  • Swagger for API documentation 📝

🏗️ Architecture

Hexagonal Architecture

  • Ports & Adapters approach for better separation of concerns
  • Application, Domain, and Infrastructure layers to enforce modularity
  • Designed following Domain-Driven Design (DDD) principles

CQRS & Event Sourcing

  • CQRS (Command Query Responsibility Segregation) for better scalability
  • Event Sourcing ensures the system retains full audit trails
  • Axon Framework for managing commands, queries, and events

⚙️ Tech Stack

Technology Version
Java 21
Spring Boot 3.x
Axon Framework Latest
PostgreSQL 15+
Docker Latest
Swagger Latest

🚀 Getting Started

1️⃣ Prerequisites

Ensure you have the following installed:

  • JDK 21
  • Docker (for running PostgreSQL and Axon Server)
  • Maven
  • Spring Boot CLI (optional)

About

Spring boot / Axon / CQRS / DDD / Event sourcing / Docker / ATDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages