Vista
A booking and management system for salons in Sri Lanka, from the customer's booking page to the owner's reports.
- Role
- Product, design and full-stack development
- Type
- Solo project
- Year
- 2026
- Status
- Staging-ready, first client Luxe Nails
- Next.js
- TypeScript
- Supabase
- PostgreSQL
- Prisma
- Tailwind CSS
- Resend
- Vitest
- Playwright
Salons were running on a notebook and a phone
Many salons in Sri Lanka still keep appointments in a notebook or a spreadsheet and take bookings by phone. That led to double bookings and missed appointments. Customers couldn’t see when a stylist was free, so some booked elsewhere. And owners had no clear view of revenue, busy hours or which services sold.
Vista replaces the notebook with one system that the customer, the staff and the owner all share.
One appointment, from booking to report
- BookThe customer opens the salon’s own booking page, picks a service, a stylist and a free time.
- ConfirmVista emails a confirmation, and a reminder goes out on the morning of the visit.
- Check inStaff check the customer in at the front desk and move the appointment along.
- CompleteThe visit is closed with the services actually given and any discount.
- ReportThe owner sees revenue, staff performance and popular services update.
What the system covers
- A booking page for every salon at its own address, where customers choose a service, a stylist and a time that’s really free.
- A manager dashboard with appointments, a calendar, staff, services grouped by category, clients and discounts.
- Several branches under one salon, with roles for owners, managers and staff.
- Customer accounts with Google sign-in that work across every salon on Vista.
- Email confirmations and daily reminders to cut no-shows.
- Reports on revenue, bookings and staff.
- Security: optional two-factor sign-in for staff accounts.
How I built it
Vista is multi-tenant: every salon’s data lives in the same database but stays separate, across 24 data models. I plan each feature as a written spec before writing code, so scope and edge cases are settled first.
Testing came early, not at the end. Playwright end-to-end tests cover the main journeys (28 test files), and unit tests run with Vitest. Every release has to pass the same gate: lint, type check, unit tests, build and end-to-end data checks.
I also chased speed. Logging in felt slow on first load, and I traced it to three causes: a session check running on every request, the sidebar preloading every page, and the dashboard fetching its data one request after another. After fixing all three, the login page’s server response in testing dropped from about 3.7 seconds to about 0.23 seconds.
Where it is now
Vista is staging-ready, and Luxe Nails is the first salon on board. Payments, SMS reminders, inventory and loyalty points are planned for after the pilot.