EXPRESS 4.17 SPA
IMPORTANT NOTES:
1. Make sure you follow the steps mentioned under "PROJECT START STEPS" and ensure that the steps execute successfully.
2. Make sure you follow the steps mentioned under "DOCKER START STEPS" and ensure that the steps execute successfully.
PROJECT START STEPS:
Pre-requisites:
1. Install node, npm
2. Install express (npm install express --save)
Steps:
1. To run this application, do the following:
1.a. Go to the project root directory.
1.b. Run the following commands respectively in the terminal/command line to build and run the app:
- npm install
- npm start
2. Go to http://localhost:8080 in your browser to view it.
ABOUT:
Backend APIs written in nodeJs with mongo-in-memory-server. The app exposes following APIs.
1. Register a driver
2. store drivers current location
3. return the list of available cabs within the 4km radius