Workflow of our application

Before diving deep into the design, let’s first understand how our application works with the help of workflow. The following steps show the working of our application.

  1. All the nearby drivers except those already serving rides can be seen when the rider starts our application.

  2. The rider enters the dropoff location and requests a ride.

  3. The application receives the request and finds a suitable driver.

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

  5. On the other hand, the drivers report their location every 4 seconds. The application finds the trip information and returns it to the driver.

  6. The driver accepts or rejects the request.

    6.1. The driver accepts the taxi request and status information is modified on both rider’s and driver’s applications. The rider finds that he is successfully matched and obtains the driver’s information.

    6.2. The driver refuses the ride request. Restart from step 2 and rematch a driver.

Create a free account to access the full course.

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