All projects
Production

Sports Betting Microservices Platform

  • NestJS
  • TypeScript
  • TypeORM
  • PostgreSQL
  • Redis
  • RabbitMQ
  • Elasticsearch
Role
Backend Developer
Year
2022 - Present
Status
Production

Overview

Designed and maintained high-performance NestJS microservices architecture for a sports betting platform. The system handles complex betting logic including system bets, dead heat calculations, and racing market validation across place, wofav, and cover markets.

Key responsibilities

  1. 1

    Built message pattern-based REST-to-microservice gateway conversions, reducing inter-service coupling

  2. 2

    Developed TypeORM repositories for panel users, customer limits, favourite tournaments, and racing events

  3. 3

    Optimized complex SQL queries with strategic commenting and indexing strategies

  4. 4

    Integrated Elasticsearch for high-performance search across betting markets and customer records

  5. 5

    Managed RabbitMQ clustering and tuned prefetchCount for reliable queue processing under load

  6. 6

    Built NestJS data migration CLI to bulk-import customer records from Excel into PostgreSQL

Technical highlights

  • Microservices architecture handling thousands of concurrent betting transactions

  • Sub-second query response times with PostgreSQL optimization

  • Elasticsearch integration for instant market search across millions of records

  • RabbitMQ message queue handling for reliable async processing

  • TypeORM for type-safe database operations and migrations