A server side application built to calculate the distance between 2 locations using nodejs, expressjs and mongodb
install npm and node if you don't have
install npm globally
npm install -g npmclone the project
git clone https://github.com/Reechychukz/location-trackergo to project directory
cd location-trackerinstall dependencies
npm installnavigate to directory
cd utilities/rapidAPIenter command to open vs code
code .enter a valid apikey
start the server
npm startPOST Location - http://localhost:3000/api/location/
PUT Location - http://localhost:3000/api/locations/{id}
DELETE Location - http://localhost:3000/api/locations/{id}
GET Locations - http://localhost:3000/api/locations
GET Location - http://localhost:3000/api/locations/{id}
POST Distance - http://localhost:3000/api/locations/{id}/distance👤 richard chukwuma
- Twitter: @reechychukz
- Github: @reechychukz
- LinkedIn: @richard-chukwuma-a1082b18b
Give a ⭐️ if this project helped you!