A simple web app providing Rest api for reverse geolocating the provided coordinate. It is a spring boot project using spring web starter pack. The embedded server is tomcat. Any other embedded server can be used as well. Works Offline.
sudo apt update
sudo apt install openjdk-14-jdk-headless maven
git clone https://github.com/roshanlc/reverse-geolocating-rest-api-spring-boot.git
cd reverse-geolocating-rest-api-spring-boot
mvn clean package
java -jar target/reversegeolocator-0.0.1-SNAPSHOT.jar --server.port=8080
Documentation is available on /docs endpoint
Method | Endpoint | Parameters | Response | Demo |
---|---|---|---|---|
GET | /locate | lat lon |
Returns json format location details | /locate?lat=65.654&lon=54.35 |
GET | /docs | Returns this documentation | /docs |
👤 Roshan Lamichhane
-
Twitter: @_roshanlc
-
Github: @roshanlc
-
Linked: @lamichhaneroshan
Give a ⭐️ if you liked this project !