Skip to content

A spring boot application which provides restful service for reverse geolocating. Works Offline.

Notifications You must be signed in to change notification settings

roshanlc/reverse-geolocating-rest-api-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Geolocating Rest Api With Spring Boot

License: MIT

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.

Install

  
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  
  
    

Usage

Usage with curl on bash shell

Documentation

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

Libraries Used

Author

👤 Roshan Lamichhane

Show your support

Give a ⭐️ if you liked this project !

About

A spring boot application which provides restful service for reverse geolocating. Works Offline.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages