Case study · Marketplace backend

Building the backend for a golf coaching marketplace in Laravel

A golf coaching app connects players with coaches for lessons, including virtual lessons. I built its Laravel 10 backend: the REST API behind the mobile app, lesson bookings, a coach application and paid verification flow, Stripe payments, Firebase notifications and the admin dashboard.

TypeCoaching marketplace
StackLaravel 10 · REST API
PaymentsStripe
My roleBackend & admin
The problem

A marketplace with two kinds of user

Players need to find a coach, book lessons and buy coaching packages. Coaches need to be checked before they can teach. Both sides use the same mobile app, so one backend had to handle bookings, verification, payments and notifications, plus an admin panel to run the business.

What I built

The API, payments and admin

  • Lesson bookings: a booking API for lessons, including bookings across multiple dates and a separate flow for virtual lessons.
  • Coach applications and verification: a player applies to become a coach, buys a coach plan, uploads certificates and waits for review. Admins approve or reject each application, and the verification fee can be set per plan.
  • Stripe payments: subscriptions, analysis packages and tutorial purchases paid through Stripe.
  • Coaching tools: analysis packages, gift challenges, player performance tracking, game scoring, a reflection-wheel self-assessment, tutorials and team chat.
  • Notifications and email: Firebase push notifications for verification and payment events, plus email for verification and password resets.
  • Subscriptions: a scheduled job that expires lapsed subscriptions automatically.
  • Admin dashboard: coach applications, a revenue centre, data exports and bulk actions.
Tech stack

Tech stack

  • Laravel 10
  • PHP 8
  • REST API
  • Stripe
  • Firebase
  • Cron
  • Admin dashboard

Results

One backend for both sidesPlayers and coaches are served by the same API.
Coaches verified before teachingCertificates are reviewed and approved in the admin.
Payments built inSubscriptions, packages and tutorials paid through Stripe.
Automated upkeepExpired subscriptions are handled by a scheduled job.

Building a marketplace or app backend?

I build Laravel APIs with bookings, payments and admin panels. Tell me about your product.