prince.dev
FlutterNode.jsFirebaseRide-hailingCase study

Gogogo: dispatch, fares and driver onboarding for on-demand transport

By
· 1 min read

In short

Gogogo is an on-demand transport platform with a user app, a separate driver (crew) app and an operations dashboard. I built it with Flutter, Node.js, MongoDB, Socket.IO and Firebase. Its core pieces are a dispatch engine, a fare engine with surge pricing, driver onboarding with KYC, in-app chat and notifications, and trip history with receipts.

Two apps, one system

Gogogo ships as two store apps: one for riders and one for the drivers who carry them. Keeping them separate keeps each app small and focused, while both talk to the same REST and WebSocket APIs.

The dispatch engine

Dispatch decides which driver gets which request. It looks at who is online and close to the pickup, offers the trip, and moves on to the next driver if nobody accepts in time. Trip events go out over WebSockets so both apps update together.

Fares and surge

The fare engine prices a trip from distance, time and vehicle type, and applies surge when demand outruns supply. The price is calculated on the server and shown before booking, so the rider and driver always see the same number.

Driver onboarding and KYC

Drivers sign up in the crew app, upload their documents and go through verification before they can take rides. The operations dashboard is where the team reviews documents, approves drivers and handles support.

Talking to users

  • In-app chat between rider and driver for pickup details.
  • Push notifications through Firebase for every important trip event.
  • Trip history and receipts, plus ratings and support flows after each ride.

Read the companion story on Vayu's real-time matching, or see the Gogogo project page.

Gogogo RideSee features, stack and store links

Frequently asked questions

How does Gogogo calculate fares?

+

A server-side fare engine prices each trip from distance, time and vehicle type and adds surge pricing when demand is higher than the number of available drivers.

Keep reading

Have a project in mind?

Let's ship it.