Using Clean Architecture, DDD, TDD and current market best practices
- Clone the repository:
git clone https://github.com/ecr-developer/boo-coding-challenge.git
- Upload the MongoDB database with Docker:
backend-user-api-java/docker-compose up -d
To run the application locally with Docker, we will use the docker compose
and requires just three steps:
To generate the productive artifact, simply run the command:
cd backend-user-api-java
./gradlew bootJar
To run MongoDB, simply execute the command below:
cd sandbox
./run.sh
cd sandbox/app
docker-compose --profile app up -d
Note.: If you need to rebuild the image of application, an additional command is required:
docker compose build --no-cache app
To stop the containers, just run the command:
docker compose --profile app stop
Some files such as settings and properties were not removed from the coverage, files that would not need to be included in the metrics.