Ebosi

Ride-hailing and courier for Lagos, built end to end for one client and then rebuilt as one platform: two iOS apps, one backend with its admin dashboard, a money ledger, and Flutterwave payments and payouts.

Year
2025 to 2026
Role
Sole engineer, freelance
Team
Scoped directly with Ebosi Technologies
Stack
TypeScript, React Native, Expo, Next.js, PostgreSQL and PostGIS on Supabase, Drizzle, Better Auth, Flutterwave, Supabase Realtime, Google Maps
Link
Ebosi on the App Store

How it works

En route

Payment authorised

State reachedNot yetTwo iOS apps, one dispatch table, four states a rider can see.

The system

Ebosi platform architecture The rider and driver iOS apps call one Next.js API that reads and writes PostgreSQL with PostGIS on Supabase and talks to Flutterwave, both apps use Google Maps, and the admin dashboard, part of the same Next.js app, reaches the database and Flutterwave through the same shared core. places, routes HTTPS, Realtime SQL queries pay, payouts transfers Google Maps Places, Directions Rider iOS app React Native, Expo Driver iOS app React Native, Expo Admin dashboard Next.js, same app Next.js API one shared core dispatch, ledger, payouts PostgreSQL Supabase, PostGIS Flutterwave Payments, payouts Core service App Data store External service Request

The job

Ebosi is ride-hailing and courier for Lagos. A rider books a car or sends a parcel and pays in naira; the nearest drivers get the offer, one takes the trip, and drivers cash their earnings out to a Nigerian bank.

I built the first version in 2025 and rebuilt it in 2026, both times as the only engineer, scoping directly with Ebosi Technologies.

Ebosi rider app home: a ride or a parcel, and popular places in LagosEbosi rider app: pick a parcel size and how fast it goes

The rebuild

The first version was three codebases: two Expo apps whose own API routes split dispatch and payments between them, and a separate dashboard. The three disagreed about the rules.

In November 2026 I replaced them with one TypeScript monorepo. Both apps talk only to one Next.js backend, and every rule lives in one core package that the API, the admin dashboard and the scheduled jobs all share. The old system was the spec: a parity check maps every old route and screen to its new home or to a drop the client agreed, and it runs in CI.

Ebosi rider app: the driver on the way, live on the mapEbosi Driver: a trip offer with the fare, the pickup and a countdown

Money and dispatch

Money is whole kobo and moves only through a double-entry ledger. A rider pays through Flutterwave, by card, bank transfer or USSD, before the trip is dispatched. Drivers keep 80% of the trip fare and all of their tips, and cash out to a bank account whose name is checked first.

Each trip is offered to the three nearest free drivers at once, and the first to accept wins. The races, two drivers accepting together, an accept against the deadline, a cancel against an accept, are tested against real Postgres.

Ebosi rider app: review the fare in naira and pay through FlutterwaveEbosi Driver wallet: earnings ready to cash out to a bank

Where it is now

In production since November 2026, taking live payments in naira. Over 2,000 tests run on every push against a throwaway Postgres, with a second job on local Supabase and Realtime.

A load test at 500 drivers put the median heartbeat at 8.5 seconds, because every heartbeat swept its whole city. One sweep per city every five seconds, behind a Postgres advisory lock, brought it to 3.7 ms without adding Redis. The rebuilt apps, version 2.0.0, are in TestFlight on their way to App Review.

Ebosi Driver welcome screen: Drive Lagos. Keep more of it.Ebosi rider app: the receipt with the fare broken down
Next, Spatial Omics Copilot →