Dashboard
Overview of your content
Rental Items
Add New Rental Item
Makeover Packages
Add New Package
Beauty Services
Add New Service
Bookings
Customer enquiries logged from the website booking form.
Loading…
Settings & Help
Supabase Configuration
Edit js/supabase-config.js and replace the placeholder values with your Supabase project credentials.
Find them in your Supabase dashboard under Project Settings → API.
const SUPABASE_URL = 'https://YOUR_PROJECT.supabase.co'; const SUPABASE_ANON_KEY = 'YOUR_ANON_KEY_HERE';
Database Setup
Run the SQL in docs/supabase-schema.sql via your Supabase dashboard
(SQL Editor → New Query) to create all tables, RLS policies,
and the rental-images storage bucket.
WhatsApp Number
Edit in js/main.js and js/booking.js:
const WHATSAPP_NUMBER = '94XXXXXXXXXX'; // Sri Lanka example: 94771234567 (no + or spaces)
Changing the Password
The password is set in admin/admin.js line 3 (PLAIN_PASSWORD).
For stronger security, use Cloudflare Access (free tier) to put /admin
behind email OTP or Google login — no code changes needed.