Ride-my App is a carpooling application that provides drivers with the ability to create ride offers and passengers to join available ride offers.
A Template for Ride-my-way application with the features below.
- Users can create an account and log in.
- Drivers can add ride offers..
- Passengers can view all available ride offers.
- Passengers can see the details of a ride offer and request to join the ride. E.g What time
the ride leaves, where it is headed e.t.c - Drivers can view the requests to the ride offer they created.
- Drivers can either accept or reject a ride request.
- Users can only see and respond to ride offers from their friends on the application .
- Passengers get real time notifications when their request is accepted or rejected(Added)
- Nodejs
- Express
- Eslint, Babel, Mocha, Chai
https://ride-my-way-andela.herokuapp.com/api/v1
Verb | Endpoint | Action | Description |
---|---|---|---|
GET | /rides | Fetch all ride offers | |
POST | /users/rides | Create a ride offer | |
GET | /rides/<id> | Fetch a single ride offer | id should be ride offer id |
POST | /rides/<id>/requests | Make a request to join a ride | id should be ride offer id |
- Clone this repository to your local machine
- Cd to directory
cd Ride-my-way
- Create
.env
file. - Use the format in
.env.example
file to add configure the API - Run
npm install
to install dependencies - Start app with
npm start
Run npm test
API is currently live at https://ride-my-way-andela.herokuapp.com/api/v1
https://ride-my-way-andela.herokuapp.com/api/v1/docs
Did you find anything that you think should be fixed or added? Kindly create an issue so they can be resolved as soon as possible
Uche Jude