Mino Ride Share started with a simple goal: build a ride-sharing platform that feels fast and reliable for passengers, drivers and admins. In this article I'll walk through the architecture, the hardest problems I faced and what I learned along the way.
The tech stack
I chose a TypeScript-first backend so the whole team could move quickly without breaking things. Each tool was picked for a specific job:
- Node.js + Express with TypeScript for the REST API
- PostgreSQL + Prisma ORM for trips, users, payments and wallets
- Socket.io for real-time ride requests and live location updates
- Redis to cache active driver locations and handle pub/sub
- Stripe for card payments and wallet top-ups
Real-time ride matching
When a passenger requests a ride, we need to find the nearest available drivers within seconds. Querying the main database for every location update would never scale, so live driver positions live in Redis using geospatial indexes.
// Store a driver's live position
await redis.geoadd("drivers:online", lng, lat, driverId);
// Find drivers within 3 km of the passenger
const nearby = await redis.geosearch(
"drivers:online",
"FROMLONLAT", pickup.lng, pickup.lat,
"BYRADIUS", 3, "km",
"ASC", "COUNT", 10,
);Payments and the wallet system
Money needs to be correct every single time. Every wallet change is written as a transaction inside a database transaction, so the balance can always be rebuilt from history. Stripe webhooks confirm payments before any balance is updated.
What I'd do differently
- Add load testing earlier — real-time features behave very differently under load
- Write more integration tests around payments from day one
- Use a job queue for notifications instead of sending them inline
“Build the simplest version that works, measure it, then make the slow parts fast.”



