An open API service indexing awesome lists of open source software.

https://github.com/lycan-nt/city-api

This project implements an API for querying cities and countries and calculating distances between cities
https://github.com/lycan-nt/city-api

heroku heroku-deployment java java-8 spring springboot springdata-jpa

Last synced: about 2 months ago
JSON representation

This project implements an API for querying cities and countries and calculating distances between cities

Awesome Lists containing this project

README

        

# city-api
This project implements an API for querying cities and countries and calculating distances between cities


## Built with
- Java 8
- Gradle Project
- Jar
- Spring Web
- Spring Data JPA
- PostgreSQL Driver

## Instructions
To make use of the features implemented in this API use the
- URL: https://tranquil-sands-91061.herokuapp.com/

API resources
- /countries (Search and return all registered countries)
- /staties (Search and return all registered states)
- /cities (Search and return all registered cities)
- /distances/by-points (It receives two parameters to calculate the distance between two cities and returns the value, the parameters are "from" and "to" each receiving the id of the city.)

## Author
Felipe D. Santos

## License
MIT