All projects

Data / Project notes

JSleeve

A wearable-enabled basketball performance and competitive gaming platform with real-time shot ingestion, calibration, analytics, live games, timers, and mobile notifications.

Engineering result

Established reusable real-time services for personalized shot analysis and reliable competitive game progression.

In this project

My contribution

Built the newer ingestion, calibration, game lifecycle, Redis timer, analytics, notification, and cross-module account-consistency behavior.

  • Built a unified idempotent REST and Socket.IO ingestion pipeline for detailed wearable shots, batches, validation, persistence, and retry reconciliation.
  • Designed the five-shot Golden Template calibration system with user-owned snapshots, baselines, comparison, accuracy, and fatigue values.
  • Built and refactored King of the Court assignment, authorization, shot limits, forfeits, draws, game windows, and idempotent completion.
  • Introduced Redis-backed session/game timers and live metrics with pause/resume, TTLs, active-state APIs, degradation, and startup recovery.
  • Unified Agenda expiration with the interactive lifecycle service and extended Firebase/FCM and Socket.IO notifications with deep-link context.
  • Expanded models, analytics, mobile responses, account-disable/delete consistency, ownership checks, modular services, and targeted tests.

The problem

Wearable events, session analytics, personal calibration, and competitive game state needed consistent behavior across REST, sockets, timers, jobs, and retries.

Extend existing session, socket, and job foundations with idempotent ingestion and concurrency-safe gameplay without implying broad frontend ownership.

Architecture

REST and Socket.IO share ingestion and lifecycle services; MongoDB persists durable shot/game state while Redis manages live timing and Agenda finalizes scheduled windows.

Results

Established reusable real-time services for personalized shot analysis and reliable competitive game progression.

Technology and links

Backend/CMS
TypeScript · Node.js · Express.js · REST APIs · Socket.IO
Data
MongoDB · Mongoose · Redis · Agenda
Integrations
Firebase Cloud Messaging
Infrastructure/Delivery
PM2 · Clustered Node runtime
Testing
Automated lifecycle, ingestion, and rule tests

Related work

Have a similar engineering challenge?

Let’s discuss the product, the constraints, and where I can contribute.

Get in touch