Node Location API Server to use by the Application and the Dashboard for location update.
Open a terminal or command prompt. Navigate to the root directory of your Node.js project where the package.json file is located. Run the following command:
npm install
This command will read the package.json file and install all the dependencies listed in the dependencies and devDependencies sections. After running this command, npm will download and install the specified dependencies into a node_modules directory in your project.
This will automatically open http://localhost:4000.
To run a Node.js project, you can use the node command:
npm run dev
- GET api/users/all-locations
- POST api/users/update-location
- GET api/users/get-history