Bola Bola: A sleek match-booking platform using microservices and Stripe payments. Features real-time match streaming and highlights. Perfect for sports enthusiasts.
userid, matchid, ticketcat, ticketid,
-, 1, A, 1
-, 1, C, 3
-, 1, A, 2
When the user proceeds to pay for a ticket, seat reservation service: userid is updated, and ticketID is on a redis hold,
When the user proceeds to pay for a ticket, match crud service: seatqty -1
When the redis TTL holds ends and user did not buy ticket, we need to update match crud + ticket reservation to null the userid
Seat Reservation Service not implemented
seat reservation schema
userid, matchid, ticketcat, ticketid, -, 1, A, 1 -, 1, C, 3 -, 1, A, 2
When the user proceeds to pay for a ticket, seat reservation service: userid is updated, and ticketID is on a redis hold, When the user proceeds to pay for a ticket, match crud service: seatqty -1 When the redis TTL holds ends and user did not buy ticket, we need to update match crud + ticket reservation to null the userid
match crud
matchid, seatqty 1,3