|
| 1 | +<p align="center"> |
| 2 | + <a href="https://codely.com"> |
| 3 | + <picture> |
| 4 | + <source media="(prefers-color-scheme: dark)" srcset="https://codely.com/logo/codely_logo-dark.svg"> |
| 5 | + <source media="(prefers-color-scheme: light)" srcset="https://codely.com/logo/codely_logo-light.svg"> |
| 6 | + <img alt="Codely logo" src="https://codely.com/logo/codely_logo.svg"> |
| 7 | + </picture> |
| 8 | + </a> |
| 9 | +</p> |
| 10 | + |
| 11 | +<h1 align="center"> |
| 12 | + ☕🚀 Java DDD example: Save the boilerplate in your new projects |
| 13 | +</h1> |
| 14 | + |
| 15 | +<p align="center"> |
| 16 | + <a href="https://github.com/CodelyTV"><img src="https://img.shields.io/badge/Codely-OS-green.svg?style=flat-square" alt="Codely Open Source projects"/></a> |
| 17 | + <a href="https://pro.codely.com"><img src="https://img.shields.io/badge/Codely-Pro-black.svg?style=flat-square" alt="Codely Pro courses"/></a> |
| 18 | + <a href="https://github.com/CodelyTV/java-ddd-example/actions"><img src="https://github.com/CodelyTV/java-ddd-example/workflows/CI/badge.svg" alt="CI pipeline status"></a> |
| 19 | +</p> |
| 20 | + |
| 21 | +> ⚡ Start your Java projects as fast as possible |
| 22 | +
|
| 23 | +## ℹ️ Introduction |
| 24 | + |
| 25 | +This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle. |
| 26 | + |
| 27 | +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) |
| 28 | + |
| 29 | +## 🏁 How To Start |
| 30 | + |
| 31 | +1. Install Java 11: `brew cask install corretto` |
| 32 | +2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'` |
| 33 | +3. Clone this repository: `git clone https://github.com/CodelyTV/java-ddd-example`. |
| 34 | +4. Bring up the Docker environment: `make up`. |
| 35 | +5. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK: |
| 36 | + 1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar): `make build` |
| 37 | + 2. Run the tests and plugins verification tasks: `make test` |
| 38 | +6. Start developing! |
| 39 | + |
| 40 | +## ☝️ How to update dependencies |
| 41 | + |
| 42 | +* Gradle ([releases](https://gradle.org/releases/)): `./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin` |
| 43 | + |
| 44 | +## 💡 Related repositories |
| 45 | + |
| 46 | +### ☕ Java |
| 47 | + |
| 48 | +* 📂 [Java Basic example](https://github.com/CodelyTV/java-basic-example) |
| 49 | +* ⚛ [Java OOP Examples](https://github.com/CodelyTV/java-oop-examples) |
| 50 | +* 🧱 [Java SOLID Examples](https://github.com/CodelyTV/java-solid-examples) |
| 51 | +* 🥦 [Java DDD Example](https://github.com/CodelyTV/java-ddd-example) |
| 52 | + |
| 53 | +### 🐘 PHP |
| 54 | + |
| 55 | +* 📂 [PHP Basic example](https://github.com/CodelyTV/php-basic-example) |
| 56 | +* 🎩 [PHP DDD example](https://github.com/CodelyTV/php-ddd-example) |
| 57 | +* 🥦 [PHP DDD Example](https://github.com/CodelyTV/php-ddd-example) |
| 58 | + |
| 59 | +### 🧬 Scala |
| 60 | + |
| 61 | +* 📂 [Scala Basic example](https://github.com/CodelyTV/scala-basic-example) |
| 62 | +* ⚡ [Scala Basic example (g8 template)](https://github.com/CodelyTV/scala-basic-example.g8) |
| 63 | +* ⚛ [Scala Examples](https://github.com/CodelyTV/scala-examples) |
| 64 | +* 🥦 [Scala DDD Example](https://github.com/CodelyTV/scala-ddd-example) |
0 commit comments