Live · refreshes in 30s
⚡
How the ETL Pipeline Works
Every booking on villa-frontend.vercel.app triggers a single atomic database transaction. Make a booking there and watch a new row appear in the table below within seconds.
1. Guest submits booking form2. API validates availability3. Guest upserted into DB4. Booking written atomically5. Inventory dates blocked6. Confirmation email sent
📋
Total Bookings
0
confirmed reservations
💰
Total Revenue
₹0
across all properties
📊
Avg Booking Value
₹0
per reservation
Revenue by Property
Bookings by Property
Live Bookings Feed
0 total · last updated 9 Jul, 09:17 am
Live
The SQL Behind This Dashboard
This data is queried live from PostgreSQL on Supabase. Here's the exact query powering the bookings table above:
SELECT
b.booking_ref,
p.name AS property_name,
p.location AS property_location,
g.full_name AS guest_name,
g.email AS guest_email,
b.checkin_date,
b.checkout_date,
(b.checkout_date - b.checkin_date) AS num_nights,
(b.num_adults + b.num_kids) AS total_guests,
(b.checkout_date - b.checkin_date)
* b.price_per_night AS total_amount,
b.status,
b.created_at
FROM bookings b
JOIN properties p ON p.id = b.property_id
JOIN guests g ON g.id = b.guest_id
ORDER BY b.created_at DESC;Want to see the pipeline in action? Make a booking and watch it appear above.
Book a Villa →