Ride Hailing
Uber
Last updated
Uber
Last updated
How would you use CanCan features to build a ride hailing app like Uber ?
To build an app like that you would need the following features:
The ability to have drivers apply to become a driver on your app
The ability for drivers to receive ride hailing requests on your app
The ability for drivers to respond to ride hailing requests on your app
The ability for clients to requests for ride hailing on your app
The ability to see drivers' position on a map
The ability to share revenue with drivers
The ability to rate and/or review drivers/clients
To become a driver on your app, vehicle owners can partner with your channel and then list their vehicles on their partner walls directly on your channel. You can read more about doing that on the page below:
To book a driver/vehicle on your app, users first find the driver/vehicle that's the best fit for them on your channel's main page under the Items > partners tab like in the image below and then click on it to go to its product's page.
From the vehicle's product page, they can book it directly, through the stake market or using a valuepool. You can find guides for each one of those cases on the pages below:
Once they've booked (purchased a ticket to) the vehicle, the driver will contact them to establish the logistics
Another way to book a vehicle/driver is to create a stake on your channel under the Contracts' tab
The request will be created as a stake and listed under the Contracts > Stakes tab like in the image above. This way potential drivers can browse the latest requests in their areas and apply to the ones that are the best fit for them.
You can read more about applying to stakes and accepting stakes' applications on the page below:
Drivers will be able to filter the requests based on area using the Country, City and Product tag buttons at the upper right of the page like in the image above.
Once the driver and client have been put in contact, the driver can share his/her current position through the PayChat app with the client like in the image below:
When listing their vehicles on their partner walls, drivers will specify the percentage they are willing to give you off of each ride they get through your channel. In the image below, the user entered 10 in the referrer fee field meaning he/she will be giving you 10% for each ride.
We can also see that the minimum fee allowed by the channel is 0%. You can change this parameter by following the guide on the page below under the Updating The Minimum Partnership Fee section
You can read more about listing vehicles (products) on a partner's channel on the page above under the Adding Items To Your Partner Wall section
To rate a driver/vehicle, click on the vehicle/driver to go to its product page and enter your rating and review. You can read more about how to do that on the page below:
In case you are a driver, you can also rate a client by voting up/down his/her channel. You can read about how to do that on the page below: