CodelyTV / java-ddd-example

♨ī¸ DDD in Java skeleton & examples. Course:
https://pro.codely.tv/library/ddd-en-java/about/
432 stars 205 forks source link
codely codelytv cqrs cucumber cucumber-java ddd ddd-architecture ddd-cqrs ddd-example gradle hexagon java java-skeleton junit rabbitmq

Codely logo

☕🚀 Java DDD example: Save the boilerplate in your new projects

Codely Open Source projects Codely Pro courses CI pipeline status

> ⚡ Start your Java projects as fast as possible ## ℹī¸ Introduction This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle. Here you have the [course on CodelyTV Pro where we explain step by step all this](https://pro.codely.tv/library/ddd-en-java/about/?utm_source=github&utm_medium=social&utm_campaign=readme) (Spanish) ## 🏁 How To Start 1. Install Java 11: `brew cask install corretto` 2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'` 3. Clone this repository: `git clone https://github.com/CodelyTV/java-ddd-example`. 4. Bring up the Docker environment: `make up`. 5. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK: 1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar): `make build` 2. Run the tests and plugins verification tasks: `make test` 6. Start developing! ## ☝ī¸ How to update dependencies * Gradle ([releases](https://gradle.org/releases/)): `./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin` ## 💡 Related repositories ### ☕ Java * 📂 [Java Basic example](https://github.com/CodelyTV/java-basic-example) * ⚛ [Java OOP Examples](https://github.com/CodelyTV/java-oop-examples) * 🧱 [Java SOLID Examples](https://github.com/CodelyTV/java-solid-examples) * đŸĨĻ [Java DDD Example](https://github.com/CodelyTV/java-ddd-example) ### 🐘 PHP * 📂 [PHP Basic example](https://github.com/CodelyTV/php-basic-example) * 🎩 [PHP DDD example](https://github.com/CodelyTV/php-ddd-example) * đŸĨĻ [PHP DDD Example](https://github.com/CodelyTV/php-ddd-example) ### đŸ§Ŧ Scala * 📂 [Scala Basic example](https://github.com/CodelyTV/scala-basic-example) * ⚡ [Scala Basic example (g8 template)](https://github.com/CodelyTV/scala-basic-example.g8) * ⚛ [Scala Examples](https://github.com/CodelyTV/scala-examples) * đŸĨĻ [Scala DDD Example](https://github.com/CodelyTV/scala-ddd-example)