/microservices

🦠 Microservice applications using Spring framework

Primary LanguageJavaScript

Microservices

Main image Microservices which provides information on statistics on COVID-19 for any country using third-party resource corona-api.com and restcountries.com

Getting started

1. Build project

mvn clean install

2.1 Launch with CLI

In root (ex00) folder:

java -jar {SERVICE_NAME}/target/{*.jar}

Microservices order:

  1. service-discovery
  2. covid
  3. countries
  4. aggregator
  5. api-gateway

2.2 Launch in Docker

In root folder:

docker-compose up -d

Stop and down containers with images removing:

docker-compose stop
docker-compose down --rmi all

Usage

Eureka dashboard: localhost:8761

API

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