RC.dev logo
HomeAboutProjectsSkillsExperienceBlogContact
Hire Me→
  1. Home
  2. Blog
  3. How I Built Mino Ride Share
Node.js

How I Built Mino Ride Share

From real-time tracking to wallet payments — the architecture and lessons behind a full ride-sharing platform.

Rasel ChowdhuryBackend & Full Stack Developer

Sep 12, 20258 min read

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.

ts
// 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,
);

Lesson learned

Keep fast-changing data (locations) in memory and only write the important events (trip started, trip completed) to PostgreSQL.

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.”

Tagged:Node.js
Share:
Previous ArticleSystem Design for Scalable Apps

On this page

  1. The tech stack
  2. Real-time ride matching
  3. Payments and the wallet system
  4. What I'd do differently

About the author

Rasel ChowdhuryBackend & Full Stack Developer

I build scalable backends and AI-powered web products. I write about what I learn along the way.

Share this article

More Articles

View all →
  • System Design

    System Design for Scalable Apps

    Aug 18, 2025 · 6 min read

  • DSA

    My Learning Journey with DSA

    Jul 30, 2025 · 4 min read

Rasel Chowdhury

Backend & full-stack developer turning business ideas into scalable, AI-powered digital products.

Available for new projects

Navigation

  • Home
  • About
  • Projects
  • Skills
  • Experience
  • Blog
  • Contact

Expertise

  • Backend Development
  • Full Stack Web Apps
  • REST API Design
  • AI Integration
  • Cloud Deployment

Let's Connect

Have a project in mind? Drop me a line.

chowdhuryrasel040@gmail.com

© 2026 Rasel Chowdhury. All rights reserved.

  • Terms & Condition
  • Privacy Policy
  • Sitemap