Court bookings, ladders and coaching for a city's tennis scene.

A platform that connects players, courts and coaches in one place, slot booking, skill-matched opponents, competitive ladders and academy management, all running off a single scheduling core.
Court bookings ran through phone calls and a WhatsApp group. Double bookings were routine, coaches had no way to publish availability, and casual players had nobody at their level to play against.
One scheduling engine backs every booking type (court, coaching slot and ladder fixture), so availability is computed once and cannot disagree between surfaces. Slot reservations take a short-lived Redis lock while payment completes, then commit to MySQL. Razorpay handles payment, and a rating system seeds ladder matchmaking.
Peak-hour slots get several simultaneous requests, and an optimistic check-then-write leaves a window where both requests pass the check.
A Redis lock is taken on the slot key before payment starts and released on success, failure or timeout, so exactly one request can ever reach the write.
Refund rules differed by how close to the slot the cancellation happened, and getting it wrong meant either angry players or angry court owners.
Refund policy became a declarative rule set evaluated at cancellation time, so owners could change their own windows without a deployment.


Tell us what you are building and who it is for. If we are the wrong fit, you will hear that on the first call.