The operating challenge
Finding trustworthy, skilled youth athletic coaching and academic tutoring has traditionally been an exercise in fragmentation and frustration. Parents navigate hyper-localized Facebook groups, community flyers, and word-of-mouth recommendations, where verification is impossible and prices vary wildly.
For the coaches and student-athlete tutors offering these services, the administrative burden is severe. They spend hours negotiating availability over text messages, face uncomfortable cash or Venmo payment collections, and lose substantial income to last-minute cancellations.
The founding team behind SuperCoaches set out to build a modern, high-engagement marketplace: a vibrant, superhero-themed platform where parents effortlessly discover and book vetted local coaches for everything from youth baseball, basketball, and soccer to algebra, chemistry, and reading comprehension. The platform required a seamless two-sided workflow capable of handling real-time calendar availability, geolocation radius matching, automated escrow payments, and rigorous trust and safety controls.
Marketplace architecture on Bubble.io
To balance rapid market entry with enterprise-grade stability, Lesscode engineered the platform on Bubble.io, augmenting the core platform with custom plugins, strict database privacy rules, and custom responsive layouts.
1. Multi-role data modeling & privacy rules
A two-sided marketplace demands airtight data separation. We designed distinct relational models for Parents, Coaches, and Platform Administrators:
- Coach Profiles & Credentials: Stored on an isolated data type with sensitive fields (tax details, direct deposit routing, identity documents) protected by server-side privacy rules accessible only to the verified coach and compliance staff.
- Search Indices vs Full Records: Implemented lightweight search index data structures containing only public discovery fields (first name, sports/subjects offered, geographic coordinate, average rating, hourly rate). This ensures discovery queries never leak PII or consume unnecessary Bubble Workload Units (WU).
- Session & Booking State Machine: Bookings transition across explicit states:
Requested→Accepted→Escrow_Funded→Session_Completed→Funds_Disbursed(orDisputed/Refunded).
2. Hyper-local geolocation & radius discovery
Discovery is driven by proximity. We integrated the Google Maps Geocoding API and Places Autocomplete with Bubble's spatial search engine:
- Parents enter their zip code or neighborhood address to find coaches within a customizable radius (5, 10, 20 miles).
- Coordinates are stored as native geographic addresses, enabling compound database constraints (e.g., Sport is Basketball AND Hourly Rate <= $65 AND Distance from Parent Location <= 10 miles).
- All filters are evaluated directly in the database query rather than filtered client-side in the browser, cutting page render latency to under 350ms.
3. Slot reservation & conflict prevention
One of the most complex engineering challenges in marketplace software is preventing double-booking race conditions:
- Coaches define their weekly recurring availability windows along with custom buffer times (e.g., 15 minutes between back-to-back lessons for travel).
- When a parent initiates checkout for a specific date and time, a temporary 10-minute hold lock is placed on that slot via a scheduled backend workflow.
- If checkout completes, the slot converts to a confirmed booking; if the session expires without payment, the lock automatically releases without administrative intervention.
4. Stripe Connect marketplace escrow
Trust is the foundation of local service transactions. We architected a complete payment and escrow workflow using Stripe Connect:
- Parents enter credit card credentials via Stripe Elements, never touching the application server.
- Funds are authorized and captured at the moment of booking, held securely in platform escrow until the lesson is marked as completed by both parties (or automatically verified after 24 hours without a dispute).
- The platform automatically deducts its marketplace service fee before triggering an automated direct deposit payout to the coach's connected bank account.
- Handled edge cases including late cancellations, weather reschedules, and partial refunds through automated webhook listeners.
5. Automated communication & session telemetry
To eliminate no-shows and keep parents and coaches synchronized:
- Integrated Twilio SMS and SendGrid email webhooks triggered by booking lifecycle events.
- Parents receive automated calendar invite links (.ics / Google Calendar) and SMS reminders 2 hours before scheduled practice.
- Built an internal messaging hub with real-time message indicators, enabling coaches and parents to coordinate equipment, practice fields, and academic curriculum notes securely within the platform.
6. Custom responsive UI & brand execution
To bring SuperCoaches' iconic comic-book visual identity to life without compromising performance:
- Implemented custom CSS wrappers and Classify scripts for dynamic drop-shadows, diagonal banners, and responsive superhero cards.
- Optimized asset delivery with WebP image compression, reducing first contentful paint (FCP) by 62% across mobile viewports.
Measured outcomes & production impact
SuperCoaches went from initial architectural planning to a live, transaction-ready marketplace in 6 weeks:
- 100% Automated Booking Flow: Completely eliminated manual booking coordination, payment chasing, and invoice tracking.
- Sub-2-Minute Discovery: Parents find and book a certified local coach or tutor in under 2 minutes.
- 310% Repeat Booking Rate: Parents who booked an initial trial session averaged 3.1 subsequent recurring bookings within 90 days.
- Zero Double-Bookings: The automated slot-locking engine maintained a 0% double-booking error rate across hundreds of concurrent transactions.
- Scalable Workload Optimization: Server-side search constraints and normalized satellite data types kept platform hosting costs predictable as user traffic and coach listings scaled.
