Skip to content

rawzoo/distanceAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You will able to find the distance between two cities. You have to pass query parameter on endpoint.

Usage: http://localhost:3000/distance?city1=mumbai&city2=delhi

Response: {"distance":1153,"sourceCity":"mumbai","destinationCity":"delhi"}

#install the Dependencies $npm install

#Start Server $npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published