Skip to content

A web api that tracks how far you are from a source. Built with nodejs

Notifications You must be signed in to change notification settings

Reechychukz/location-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to location-tracker 👋

Version License: MIT Twitter: reechychukz

A server side application built to calculate the distance between 2 locations using nodejs, expressjs and mongodb

Prerequisites

install npm and node if you don't have

install npm globally

npm install -g npm

Run Locally

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

API Endpoints

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

Author

👤 richard chukwuma

Show your support

Give a ⭐️ if this project helped you!

About

A web api that tracks how far you are from a source. Built with nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published