Case study · Sports · Venue booking (pre-launch)
Playwise: Sports Venue Booking Platform
Product design and development for Playwise, a pre-launch sports venue booking platform for Eluru: a player app and website on a NestJS booking API, plus venue partner tools prototyped on demo data.
- Client: Playwise
- Services: Product design, Mobile app development, Web development, Backend and API
- Platform: React Native app, web, and booking API (pre-launch)
The Client
Playwise is a sports venue booking platform, built first for Eluru. Players find a turf or court, pick a one-hour slot and book it. Venue owners and staff get a partner app and web portal for courts, walk-ins and check-ins. The product is pre-launch: the player website books through the API end to end on a test payment gateway, the player app has the same flow wired in but runs on demo data for now, and the venue tools are prototypes on demo data.
The Goal
Players needed to see which courts are actually free and book an hour in a few taps, without calling the venue to ask.
Behind that, the system had to guarantee that two teams never get the same court at the same hour, even when they tap at the same moment, and venue owners needed one place to run their courts, walk-ins and check-ins.
What We Built
Development: we designed and built the player app, the player website, the venue partner app and web portal, and the NestJS booking API. The product is in development ahead of launch.
Player app
A React Native (Expo) app for iOS and Android, not yet in the app stores, with 18 screens: onboarding, sport and venue discovery, filters, venue pages, reviews, booking history and a profile, in light and dark themes. It runs on demo data until it is switched to the API.
Player website
A React website where players sign in, filter venues by sport and price, sort them by rating or price, and book through the booking API.
Live slot picker
In the app, a seven-day date strip, court selector and slot grid show open, peak and taken slots, and tapping a taken slot offers two open alternatives.
Hold, order, confirm
Booking runs in three server steps: a 5-minute slot hold, a payment order and a confirmation. The endpoints accept idempotency keys, and a unique index rejects a second hold on the same slot.
No double bookings
The server builds a unique key for every court and hour. MongoDB transactions and partial unique indexes allow only one active hold and one confirmed booking for it.
Server-side pricing
Prices are stored in paise and calculated on the server, including peak rates and the platform fee, so the amount never comes from the app.
Sign-in and sessions
Phone OTP and Google sign-in endpoints on the API, running on a test code and a development Google login until SMS and Google are set up, with 15-minute access tokens and 30-day refresh tokens that rotate on every refresh and are stored only as hashes, plus a global rate limit and security headers.
Verified reviews
Only a player whose booking has ended can review the venue, once per booking, and the venue rating updates in the same transaction.
Venue partner tools (prototype)
A web portal with a 5-step onboarding wizard and a court-by-hour slot grid, and a phone app for staff, both with walk-ins, pass-code check-in and daily earnings, running on demo data until their API is built.
How We Approached It
- Design the player experience: We started with the player app and website screens: discovery, venue pages, the slot picker and checkout.
- Document the rules: We then wrote the architecture docs: a 103-rule design spec, the booking lifecycle, the data model and the API contracts. Payments, SMS and refunds are still open decisions.
- Build the booking core: The API was built against those docs, around the hardest problem, two players wanting the same hour: server-built slot keys, short holds, transactions and unique indexes.
- Connect and prototype: The website books through the API end to end and restores sessions with rotating refresh tokens. The app has the same flow wired in on demo data, and the venue tools are prototyped on demo data until their API is built.
What the Client Got
- A player website that books through the API, and a React Native player app
- A booking API where each court and hour can be confirmed only once, enforced by a unique index
- Venue partner app and web portal prototypes
- Architecture docs with a 103-rule design spec
Technology
React Native (Expo) · React · Vite · TypeScript · NestJS · Fastify · MongoDB