Project for retrieving countries information all over the world
- Clone this repository.
- Go to the project.
cd countries
- Start the server:
./mvnw spring-boot:run
The server has been configured to be run on port 3000. Therefore, the base URL is http://localhost:3000/
[GET] /country_codes (Get all the country codes)
[GET] /capital/{country_code} (Get country name and capital by a country code)
After starting the server. Please click one of those URLs below to try the APIs