SPRINT 4 ‐ Request and Confirmation of ride (frontend) - BlueJayBird11/UniJet GitHub Wiki
User Story: As a user, I have the necessary pages that allow me to request a driver and see current routes.
About
For this sprint, the API and the frontend for requesting rides and confirmations related to them are not connected, hence I have added a DEV button for testing and demonstration purpose. This will walk you through the scenario of requesting ride if you were a user.
Usage
To experience the walk-through, go to maps and then click on this button that says Request Ride (DEV)
After you have selected the location you want to go to (supposedly), it will ask for confirmation if you want to request ride for that location.
Then it will start looking for drivers nearby. If a driver accepts the request, it will then show the rider driver details and asks the user if they want to continue with the driver.
After that it will show your driver is on the way.
After driver reaches the pickup location, it will send confirmation saying your driver is here.
After the ride is completed, it will then show confirmation saying the ride is completed and provides user an option to rate their driver.
Workings
The files associated with these implementations are located in frontend/src/scenes/map