Skip to content

CodelyTV/java-ddd-example

Repository files navigation

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 (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 in order to check everything is OK:
    1. Create the project JAR: make build
    2. Run the tests and plugins verification tasks: make test
  6. Start developing!

☝️ How to update dependencies

  • Gradle (releases): ./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin

💡 Related repositories

☕ Java

🐘 PHP

🧬 Scala