Skip to content
Back to portfolio

Customer product · Booking

The Retreat Cottage

The public website and direct-booking flow for a cottage in Kasauli, with guest accounts and downloadable receipts.

retreatcottage.in1/5

The Retreat Cottage — Home page

Overview

Problem
The property relied on third-party listings and needed its own site where guests could check availability and request a stay.
My role
Sole developer: design, Next.js front end, auth, email and data model.
Outcome
Live at retreatcottage.in, taking direct stay requests with confirmations by email.

Engineering decisions

  • Built on the Next.js App Router for server-rendered, indexable pages.
  • Shared one Supabase database with the Operations Manager so availability is the same in both apps.
  • Added guest sign-in with NextAuth, validated booking forms with React Hook Form and Zod, and sent confirmations with Nodemailer.

The hard part

Keeping the public calendar accurate while staff edit bookings in a separate application.

Stack

Next.js · React · Supabase · NextAuth · Zod · Tailwind CSS · Vercel