⚡ Start your Java projects as fast as possible
🎯 Start with a software architecture that isolates the domain from external components
🔥 Get started with software architecture that promotes maintainable, scalable, and high-quality software design
This skeleton repository was built to serve as a starting point for building a java project that implements Hexagonal Architecture + Domain-Driven Design (DDD).
As a example I included an API that covers all the layers to show the implementation in each of them.
- Create your repository from this java-hexagonal-ddd-skeleton repository. Follow these steps.
- Clone your repository:
git clone https://github.com/:your-user/:your-repository-name
. - Execute this to build jar:
mvn clean package
- Execute this to build image:
docker build -t java-hexagonal-ddd-skeleton:0.0.1-SNAPSHOT .
- Execute this to run the container:
docker run -p 8080:8080 java-hexagonal-ddd-skeleton:0.0.1-SNAPSHOT
- In order to check everything is OK :
curl 'localhost:8080/api/git-repository'
- Start developing!