Skip to content

Locations project for 6nomads interview.

Notifications You must be signed in to change notification settings

alexseman/6nomads-locations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6nomads-locations

Locations project for 6nomads interview.

The project provides out of the box solutions for fiding cities with minimum distances among the array of cities. We use google geocoding api to accomplish this task.

Installing / Getting started

# Clone the repository
git clone https://github.com/pntripathi9417/6nomads-locations

cd 6nomads-locations/

# Install global dependencies.
npm install -g nodemon lerna

# Bootstrap the project. It will install dependencies for each package.
lerna bootstrap --hoist

# Build every project in watch mode to start development
lerna build:watch --parallel

# Start the server locally
npm run dev --prefix packages/locations

# Start the server in production
npm run start --prefix packages/locations

Usage

The results can be accessed through the live api at http://locations.vadelabs.com.

GET http://locations.vadelabs.com/locations?locations=["New Delhi", "Bangalore", "Kolkata", "Chennai"]

Just put this url in browser and you will have your result.

About

Locations project for 6nomads interview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published