Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 315 Bytes

README.md

File metadata and controls

15 lines (7 loc) · 315 Bytes

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