Prompt

Build a React + Firebase (or Supabase) web app called Rebookd — a real-time marketplace where users can instantly book discounted last-minute cancellations at local gyms, salons, and clinics.

Core user flows

We’ll need two user types:

Customers (Bookers) — people looking for last-minute discounted appointments

Businesses (Providers) — gyms, salons, doctors, etc. that have cancellations

Customer Features

🔐 Sign up/login via email or Google

📍 Location-based feed showing nearby cancellation slots (mock data fine for now — show card grid layout with:

Business name

Service type (e.g. haircut, pilates class, physio)

Original price vs discounted price

“Starts in X hours/minutes” badge

“Book Now” button)

❤️ Ability to “Watch” favorite businesses to get notifications when they have a new cancellation

🗓️ Simple “My Bookings” page with active/past bookings

Business Features

🏪 Business dashboard after sign-up where they can:

Add services (e.g. “Haircut – 45 mins – €40”)

Mark a time slot as “Canceled” → automatically appear in the marketplace feed with a configurable discount (e.g. “Auto-discount 30% if <2 hours away”)