Workflow of our application

The following steps show the working of our application.

  1. The passenger enters the dropoff location and requests a ride.

  2. Until a matching driver is found, the status will be “waiting for the driver to respond.”

  3. On the other hand, the driver reports his location every 4 seconds. The application finds the trip information and returns it to the driver.

  4. The driver accepts or rejects the request.

    4.1 The driver accepts the taxi request. Modify the status information. The passenger finds that he is successfully matched and obtains the driver’s information.

    4.2 The driver refuses the ride request. Modify the status information to mark that the driver has rejected the trip. Re-match a driver and restart from step 2.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy