Admin CMS

Manage program truth, webinar dates, and payment support.

Draft and publish page content, create webinar dates with capacity, keep in-person packages enquiry-only, and review registrations after Stripe payment events arrive.

Admin action needs attention: admin-required

Setup required

Connect Supabase before using the live admin.

Add the Supabase and Stripe environment variables, run the migration, then seed one row in `admin_users` for the admin account. Until then, the public site uses the local catalog fallback.

  • `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY` for auth and public reads.
  • `SUPABASE_SECRET_KEY` or `SUPABASE_SERVICE_ROLE_KEY` for server-only admin actions and webhooks.
  • `STRIPE_SECRET_KEY` and `STRIPE_WEBHOOK_SECRET` for checkout and payment reconciliation.
  • Add `https://www.drmind.org/auth/callback` to Supabase Auth redirect URLs for admin magic links.