Project overview
Live and used for daily operations, sharing a Supabase backend with the public booking site.
Problem: Bookings arrived from the direct site and from OTA channels, and staff tracked availability, guests and meal orders by hand.
Role: Product design, React front end, Supabase schema and Edge Functions.
Outcome: Live and used for daily operations, alongside the public booking site that shares the same Supabase backend.
Engineering decisions
- Used Supabase (Postgres, auth, storage) to keep the whole backend in one managed service.
- Wrote Edge Functions that import and export iCal feeds to keep OTA calendars such as Goibibo in step with direct bookings.
- Used TanStack Query for server state and caching across bookings, rooms and guest views.
- Generated booking receipts as PDFs in the browser with jsPDF.
The hard part: OTA calendars only expose iCal feeds, so availability had to be reconciled from imported events without creating double bookings.
