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