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
- Host: GitHub
- URL: https://github.com/lycan-nt/city-api
- Owner: lycan-nt
- Created: 2022-01-26T00:29:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T00:49:51.000Z (over 3 years ago)
- Last Synced: 2025-01-18T12:27:35.188Z (3 months ago)
- Topics: heroku, heroku-deployment, java, java-8, spring, springboot, springdata-jpa
- Language: Java
- Homepage: https://tranquil-sands-91061.herokuapp.com/
- Size: 569 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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