RKB
Md Abdur Razzak
Rental ServicesLive Demo / App

SELE

Car Rental Platform in USA

A rental app that allows agencies to list cars for rent and users to rent them with real-time booking and payment. Includes in-app messaging between agencies and renters.

Key Impact: Handled multiple concurrent rentals with instant booking confirmation

System Architecture & Design Patterns

Architecture Pattern

State-Driven Inventory Booking Engine with Redis TTL Locks

Strategic Rationale

Prevents vehicle inventory conflict during checkout while maintaining instant confirmation and reliable booking state transitions.

Technical Highlights
  • Redis atomic SETNX keys for temporary car reservation during payment checkout
  • Stripe PaymentIntents integration with automated fallback release on checkout timeout
  • Socket.io bidirectional messaging for real-time agency-renter negotiation

Engineering Challenges & Solutions

Challenge 1

Double-booking risks for popular rental cars during peak demand hours.

Engineered Solution

Designed a 15-minute temporary inventory lock pattern via Redis TTL keys. If checkout completes, state locks permanently; if abandoned, lock auto-expires and inventory immediately recirculates.

Challenge 2

Disconnected chat state during network switches on mobile clients.

Engineered Solution

Implemented persistent message queue fallback with Redis streams and automated Firebase Cloud Messaging (FCM) push notifications when socket connection drops.

Tech Stack

Node.jsExpress.jsMongoDBSocket.ioStripeRedis

Core Capabilities

  • Real-time car booking
  • Payment integration (one-time payments via Stripe)
  • In-app messaging between agency and user
  • Car listing management for agencies
  • Booking notifications and status updates
  • Secure account management and authentication