Uber simulation using RESTful API, Node.js and Google Maps API
This projects goal was to simulate Uber via a RESTful API, Node.js, and Google Maps API by the Agile process of software development.
You should receive the following response:
npm install
node server.js
Express server listening on port 3000
success!
- Get all trips - http://localhost:3000/trip
- Get all riders - http://localhost:3000/rider
- Get all drivers - http://localhost:3000/driver
- Get rider information - http://localhost:3000/driver/:id
- Get driver information - http://localhost:3000/driver/:id
- Get all drivers within 10 miles - http://localhost:3000/rider/driverByDistance/:id
- Make a trip with http://localhost:3000/rider/driverByDistance/:id
- Update driver data - http://localhost:3000/driver/:id
- Update rider data - http://localhost:3000/rider/:id
- Update trip data - http://localhost:3000/trip/:id
- Create drivers - http://localhost:3000/admin/driver
- Create riders - http://localhost:3000/admin/rider
- Create admins - http://localhost:3000/admin/