|
| 1 | +# ☕🚀 Java DDD Skeleton: Save the boilerplate in your new projects |
| 2 | + |
| 3 | +<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" align="left" width="192px" height="192px"/> |
| 4 | +<img align="left" width="0" height="192px" hspace="10"/> |
| 5 | + |
| 6 | +> ⚡ Start your Java projects as fast as possible |
| 7 | +
|
| 8 | +[](https://codely.tv) |
| 9 | +[](https://github.com/CodelyTV/java-ddd-skeleton/actions) |
| 10 | + |
| 11 | +## ℹ️ Introduction |
| 12 | + |
| 13 | +This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle. |
| 14 | + |
| 15 | +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) |
| 16 | + |
| 17 | +## 🏁 How To Start |
| 18 | + |
| 19 | +1. Install Java 11: `brew cask install corretto` |
| 20 | +2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'` |
| 21 | +3. Clone this repository: `git clone https://github.com/CodelyTV/java-ddd-skeleton`. |
| 22 | +4. Bring up the Docker environment: `make up`. |
| 23 | +5. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK: |
| 24 | + 1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar): `make build` |
| 25 | + 2. Run the tests and plugins verification tasks: `make test` |
| 26 | +6. Start developing! |
| 27 | + |
| 28 | +## ☝️ How to update dependencies |
| 29 | + |
| 30 | +* Gradle ([releases](https://gradle.org/releases/)): `./gradlew wrapper --gradle-version=WANTED_VERSION --distribution-type=bin` |
| 31 | + |
| 32 | +## 💡 Related repositories |
| 33 | + |
| 34 | +### ☕ Java |
| 35 | + |
| 36 | +* 📂 [Java Basic Skeleton](https://github.com/CodelyTV/java-basic-skeleton) |
| 37 | +* ⚛ [Java OOP Examples](https://github.com/CodelyTV/java-oop-examples) |
| 38 | +* 🧱 [Java SOLID Examples](https://github.com/CodelyTV/java-solid-examples) |
| 39 | +* 🥦 [Java DDD Example](https://github.com/CodelyTV/java-ddd-example) |
| 40 | + |
| 41 | +### 🐘 PHP |
| 42 | + |
| 43 | +* 📂 [PHP Basic Skeleton](https://github.com/CodelyTV/php-basic-skeleton) |
| 44 | +* 🎩 [PHP DDD Skeleton](https://github.com/CodelyTV/php-ddd-skeleton) |
| 45 | +* 🥦 [PHP DDD Example](https://github.com/CodelyTV/php-ddd-example) |
| 46 | + |
| 47 | +### 🧬 Scala |
| 48 | + |
| 49 | +* 📂 [Scala Basic Skeleton](https://github.com/CodelyTV/scala-basic-skeleton) |
| 50 | +* ⚡ [Scala Basic Skeleton (g8 template)](https://github.com/CodelyTV/scala-basic-skeleton.g8) |
| 51 | +* ⚛ [Scala Examples](https://github.com/CodelyTV/scala-examples) |
| 52 | +* 🥦 [Scala DDD Example](https://github.com/CodelyTV/scala-ddd-example) |
0 commit comments