Skip to content
Mohammad Kazim
Colour theme

Hire me
← All case studies

Personal · Built

AirLynk: a ride-booking backend

FastAPI services for booking, dispatch, pricing and live tracking, with Redis, RabbitMQ, Celery and an nginx reverse proxy in Docker Compose.

17API operations in the OpenAPI spec

Illustrative screen. Designed for this portfolio with sample content.

Illustrative screen with sample content

Illustrative screen for AirLynk: a ride-booking backend

What I did

A booking system has to stay consistent when many people and drivers act on the same trip at once.

  1. Redis locks (set-if-absent with expiry) so one booking cannot be assigned twice.
  2. Refresh tokens, surge prices and active bookings cached in Redis with expiry times.
  3. Driver locations in Redis geo sets, pushed to clients through pub/sub and WebSockets.
  4. RabbitMQ events and Celery workers for work that does not belong in the request.
  5. nginx rate limits: 30 requests per second for the API, 5 for sign-in.

What changed

  • Runs locally as one Docker Compose stack with health checks.
  • 17 API operations documented in OpenAPI.
Next case studyTransaction failure analytics