This API was develop with:
- Check if you have installed the docker-compose in your computer
- Execute the follow command in the project root:
$ docker-compose build
- Execute the follow command in the project root:
$ docker-compose up
- For test, execute the follow command on terminal:
$ curl --location --request GET 'localhost:8182/health-check'
- Unitary Tests for the business rules;
- Component Test for the contract and expected http responses.
Open spec.yml on root project in open api web
I didn't write the component test for search by latitude and longitude because the library that I have used in this project doest not support the $geoNear.