ericksonfilipe/countryapi

★ 0Forks 0JavaGitHub ↗Compare

README

Country API

Overview

Country API is an application developed using:

OpenApi specification

It can be found in the root of the project in the countryapi.yaml file.

Instructions to run the project locally

  1. Download the project;
  2. Enter the countryapi folder;
cd countryapi
  1. Start the application:
./mvnw clean spring-boot:run
  1. The application should be running on http://localhost:8080

If you just want to run the test suite, run the command below:

./mvnw test

Related Projects

Possible improvements

  • Use of in-memory cache with evicting policy every x unit of time;
  • Change code format to follow java/SpringBoot guidelines;
  • Organize the packages to follow SpringBoot guidelines;
  • Use WebClient instead of RestTemplate;
  • Improve logging;
  • ...

Contributors

ericksonfilipe

Issues