Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

☕🎯 Hexagonal Architecture + DDD + CQRS in a Java project using SpringBoot

Notifications You must be signed in to change notification settings

CodelyTV/java-ddd-example-deprecated

Repository files navigation

⚠️ Deprecated project. Go to https://github.com/CodelyTV/java-ddd-example to see to the new one.

☕🎯 Hexagonal Architecture + DDD + CQRS Java example with SpringBoot

You can do awesome stuff with Java 🙂

CodelyTV Build Status

Implementation example of a Java application following Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) principles, keeping the code as simple as possible.

Take a look, play and have fun with it!

🚀 Environment setup

  1. Install Java: brew cask install java
  2. Clone this repository: git clone https://github.com/CodelyTV/cqrs-ddd-java-example
  3. Execute some Gradle lifecycle tasks in order to check everything is OK:
    1. Create the project JAR and other project artifacts: ./gradlew assemble --warning-mode all
    2. Run the tests and plugins verification tasks: ./gradlew check --warning-mode all
    3. Execute the main application entrypoint: ./gradlew run --warning-mode all
  4. Start developing!

🤔 How to update dependencies

🤝 Contributing

There are a lot of missing things (add swagger/OpenAPI, improve documentation...), feel free to add them if you want!