Repository for Andela Kenya Cohort 29 Bootcamp Developer Challenge.
Ride My Way is a carpooling web application. The app gives drivers a platform where they can create ride offers and a place where passangers can access available ride offers.
Brian Wandera (@wandesky)
This repo will host the work done while undertaking Challenge 2 of Andela Bootcamp 29
On successful completion of this track, the following features should be working
- A user should be able to access all available rides
- A user should be able to access details for a specific ride
- A driver should be able to create a new ride offer
- A passenger should be able to make a request to join a ride
There are two ways you can preview the current state of this work
Include steps to run the code on localhost
Include steps to run the code on heroku https://lets-ride-heroku-staging.herokuapp.com/api/v1/rides
The features in challenge 2 are implemented using API's. The table below shows the API endpoints to be followed.
EndPoint | Functionality |
---|---|
GET /rides | Fetch all ride offers |
GET /rides/ | Fetch a single ride offer |
POST /rides | Create a ride offer |
POST /rides/< rideId >/requests | Make a request to join a ride |