Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 1.66 KB

README.md

File metadata and controls

77 lines (57 loc) · 1.66 KB

🚀 BooWorld Services

Using Clean Architecture, DDD, TDD and current market best practices


Part 1

Part 2

How to execute?

  1. Clone the repository:
git clone https://github.com/ecr-developer/boo-coding-challenge.git
  1. Upload the MongoDB database with Docker:
backend-user-api-java/docker-compose up -d

Running with Docker

To run the application locally with Docker, we will use the docker compose and requires just three steps:

1. Generating the productive artifact (jar)

To generate the productive artifact, simply run the command:

cd backend-user-api-java
./gradlew bootJar

2. Running independent containers (Optional)

To run MongoDB, simply execute the command below:

cd sandbox
./run.sh

3. Running the application alongside the other containers

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

Stopping containers

To stop the containers, just run the command:

docker compose --profile app stop

API Docs generated

Api-Docs

Jacoco test report

Some files such as settings and properties were not removed from the coverage, files that would not need to be included in the metrics.

JacocoTestReport