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 npm
clone the project
git clone https://github.com/Reechychukz/location-tracker
go to project directory
cd location-tracker
install dependencies
npm install
navigate to directory
cd utilities/rapidAPI
enter command to open vs code
code .
enter a valid apikey
start the server
npm start
POST 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!