Foundation
Create the data model and access rules
The app has a dependable source of truth before visual work begins.
Create Supabase tables for services, appointments, payments, availability rules, and staff users using the fields in this blueprint. Enable row-level security on every table. Public visitors may read active services and request a booking through a server-side action, but may not list appointments or payments. Only authenticated active staff users may read or update appointment records. Include migrations and a short test plan for the access rules.