Supabase post likes
- Create a project at supabase.com.
- Open SQL Editor and run
likes.sql once. The file begins with a RESET block that drops prior like objects so you can re-run the whole script safely while iterating.
- In Integrations → Data API, expose only the
public schema (do not expose likes_private).
- Copy credentials into
_config.yml:
supabase_url — Project API base URL (HTTPS, no trailing slash), e.g. https://abcdefghijklmnop.supabase.co from the project Connect dialog or homepage.
supabase_publishable_key — Settings → API Keys → Publishable (sb_publishable_…). Never commit the Secret key.
- Rebuild or deploy the site. The like button stays hidden until both values are set.