Skip to content
Back to work
Build / Production · 2025

Two-Sided Fitness-Coaching Marketplace

A marketplace connecting clients with vetted coaches: discovery and matching, booking with auto-provisioned video, marketplace payments with automatic coach payouts, and realtime chat, so a coach can self-onboard end to end.

Next.jsCal.comStripe ConnectDaily.coSupabaseResend

The challenge

The client needed a true two-sided marketplace where clients discover, message, book, pay, and join a video session without leaving the platform, and coaches self-onboard with both a calendar and payouts before they can be booked, all without juggling disconnected tools.

The solution

Built a production Next.js marketplace on Supabase. Integrated Cal.com Managed Users to provision a calendar per coach with per-session pricing and auto-generated Cal Video (Daily.co) rooms. Implemented Stripe Connect Express so a booking is charged once and the platform fee plus the coach's payout are routed in the same flow, reconciled by an idempotent webhook handler. Added realtime chat over Supabase channels, transactional email via Resend, and row-level security across the data model.

Results

  • Coaches self-onboard end to end: calendar plus payments before they become bookable
  • One booking flow charges the client, takes the platform commission, and pays out the coach automatically (Stripe Connect Express)
  • Auto-provisioned video rooms per session (Cal.com plus Daily.co)
  • Realtime chat with attachments over Supabase, transactional email via Resend
  • Row-level security across the data model and an idempotent payments webhook
Start a project

Want similar results?

Let's talk about your project and how I can help.