This is a really rough prototype for our carpooling app
-
Clone or download the repo
-
install nodeJs (https://github.com/joyent/node/wiki/Installation) and npm
-
cd into the directory
-
install dependencies locally by
npm install -l
- start server
node app.js
- go to "localhost:3000" on your browser
- install nodemon module.
DRIVERS API
GET /drivers/routes/route_ID show the route information
POST /drivers/routes create a new driver request (passing in driver UID, START, and END)
PUT /drivers/routes/route_ID update a driver's route request
RIDERS API
GET /riders/rider_ID show a rider request
GET /riders show all rider requests
POST /riders create a new rider request (passing in rider UID, START, and END)
PUT /riders/rider_ID update a rider's request
USER general API
GET /users
GET /users/user_id
NOTE: Right now i'm assuming a user can only be either a driver or a rider. And a rider can only have one ride request at a time.
NOTE: right now I'm testing with a few dummy users
- get/set potential riders (MOST IMPORTANT)
- rider pick up
- estimate time for rider
- update current location
- nodejs
- express
- googlemaps module