Skip to content

NurmukhametovAlexey/CachingGeocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CACHING GEOCODER SERVICE

Application provides caching proxy-service for Yandex Geocoder API.
It allows for converting address into geographic coordinates and vice-versa.

API servers:

GeocodeResponse JSON looks as follows:

{
     "query":      {
         "text": (text of your request),
         "queryType": (type of your request: COORDINATES or ADDRESS)
     },
     "coordinates": (found coordinates in form "latitude longitude"),
     "fullAddress": (found full address)
}

How to run the application

(you will need to have jdk, maven, docker and docker-compose installed and added to PATH)

  1. Open project root directory in terminal
  2. On Linux run "chmod 777 mvnw" to allow execution of mvnw
  3. Run "mvnw clean package -DskipTests" to compile application jar in "target" directory
  4. Run "docker-compose up -d" to run the Docker containers

4.5) If you want to compile the app yourself - you will need to get your own Yandex API key and insert it in application.properties

Exposed ports can be changed in Dockerfile and docker-compose.yml

About

Cashing proxy-service around Yandex Maps API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published