Repository navigation
Description
A dashboard so execs can add and edit events, photos and team members without touching code or the Supabase dashboard. It lives in apps/admin and is already deployed as its own Vercel project.
Phase 1 (now): manage what's in Supabase today, the events and team tables and the events-images and team-images buckets. Whatever you change here shows up on the live site.
Phase 2 (later): once the redesign starts, add the new data from docs/redesign.md (categories, multiple photos per event, series, a "will be streamed" flag) to Supabase and the dashboard.
The sub-issues below are small on purpose and they're linked with "blocked by", so pick anything that isn't blocked. Start with the plan issue.
Ground rules for every admin issue
apps/adminis a static Vite + React + TS app. It talks straight to Supabase with the public anon key. No server, no service role key in the client, ever.- Security comes from Supabase row-level security (RLS) and storage policies, not from hiding buttons.
- Phase 1 works with the tables exactly as they are today, so the live site (
old-sitebranch) keeps working. Don't rename or reshape columns. - Database changes go in as SQL files in
supabase/migrations/and get reviewed by a VP of Eng before they're applied.
Phase 1 is done when a signed-in exec can create, edit and delete events and team members, upload their photos, and see the change on lauriercs.org, and someone who isn't an admin can't change anything, even by calling the Supabase API directly.
Activity
5 remaining items