Project · Luxury real estate · Live in production
Keanu Residences
A reservation platform for a luxury villa launch in Bali - browse, shortlist, lock a unit for a few minutes, deposit, done.
- Period
- 2026
- Role
- Full-stack engineer
- Client
- Keanu Residences (Sunrise Coast Living) - live at sales.keanubali.com. A branded villa development in Bali; this is the platform their sales team and buyers use during launch events.
atomic
unit reservation lock under concurrent load
real-time
availability across every connected device
scheduled
launches go live at the configured second
live
in production for ongoing villa sales
Problem
Luxury villa launches are competitive: dozens of buyers may want the same unit the moment a launch goes live. A first-come spreadsheet doesn't work - by the time someone refreshes, the unit is gone. Buyers need to lock a unit for a few minutes while they read terms and pay, the system needs to guarantee one buyer per unit, and the whole experience needs to feel as polished as the property itself.
Approach
- 01
Built an atomic unit-locking system on top of Redis - when a buyer reserves a unit, that unit is held for them only, no one else can lock it, and the lock auto-releases on a timer if they don't complete payment.
- 02
Designed a waiting queue so the moment a lock releases, the next person interested gets first dibs - no refresh races, no over-booking.
- 03
Connected the system to Stripe with a proper webhook flow: deposit captured, unit confirmed, lock converted into a real reservation, all in one transaction.
- 04
Pushed live availability over WebSocket so the visual masterplan updates the second a unit changes state - buyers see other units sell in real time, which is exactly the urgency a launch is built around.
- 05
Wired buyer activity into GoHighLevel as a CRM event stream - Signed Up → Shortlisted → Reserved → Deposited become tagged contacts that trigger sales follow-up automatically.
- 06
Built a small admin scheduler: pick the launch date and time, and a background job flips the project to LIVE at the exact second, broadcasts to every connected client, and starts accepting reservations.
From the live product

Buyer landing - the surface every prospect lands on at launch.

Interactive masterplan - live availability updates push from server to client.

Admin villas - control unit availability, pricing, and launch state.
Stack
- NestJS 11 · TypeScript · Prisma · PostgreSQL
- Redis · Bull queues
- Socket.io WebSocket gateways
- Stripe (payment intents + webhooks + embedded checkout)
- GoHighLevel CRM (OAuth + tagged contacts)
- Cloudinary · Nodemailer
- React 19 · Vite · Tailwind v4 · react-router-dom v7
Lessons
- Concurrency problems must be solved at the right layer. A database transaction can't stop two buyers from clicking the same unit at the same time - only an atomic Redis lock with a waiting queue can. We had to put the lock above the database, not in it.
- Buyers can feel the urgency of a launch only when it's visibly real. Pushing availability over WebSocket so other units 'sell out' as you scroll is what turns a website into an event.
- Sales operations live in their CRM. Sending every meaningful buyer event into GoHighLevel as a tagged contact is what lets the sales team automate follow-up without ever touching our database.