GROWSTONE ADMIN (Supabase)

ONE-TIME SETUP
1. supabase.com > New project (any name, choose the nearest region, e.g. Mumbai).
2. SQL Editor > New query > paste all of admin/supabase-setup.sql > Run.
3. Authentication > Sign In / Providers > Email: turn OFF "Allow new users to sign up" (important: only you should be able to log in).
4. Authentication > Users > Add user > Create new user: your email + password, tick "Auto Confirm User".
5. Project Settings > API: copy "Project URL" and the "anon public" key into js/supabase.js.
6. Open admin/index.html (through any local server or your hosting) and log in with that email and password.

Do NOT use the service_role key anywhere in the website. Only the anon key.
Until you save something, the site keeps using data/*.json. After the first save of a file, the site reads it from Supabase.
