Country API is an application developed using:
It can be found in the root of the project in the countryapi.yaml file.
- Download the project;
- Enter the
countryapifolder;
cd countryapi
- Start the application:
./mvnw clean spring-boot:run
- The application should be running on
http://localhost:8080
If you just want to run the test suite, run the command below:
./mvnw test
- 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;
- ...