Microservices which provides information on statistics on COVID-19 for any country using third-party resource corona-api.com and restcountries.com
mvn clean install
In root (ex00) folder:
java -jar {SERVICE_NAME}/target/{*.jar}
Microservices order:
- service-discovery
- covid
- countries
- aggregator
- api-gateway
In root folder:
docker-compose up -d
Stop and down containers with images removing:
docker-compose stop
docker-compose down --rmi all
Eureka dashboard: localhost:8761
curl -X GET http://localhost:8080/information_management/countries/RU
where RU is any country code
To see the visualization of JSON, follow localhost:8080/information_management/countries/RU/overview
in browser