This directory contains only safe, public examples for local development.
The production Supabase backend (migrations, policies, functions, deployment)
lives in a separate private repository. See
docs/architecture/OPEN_SOURCE_BOUNDARY.md.
No Supabase project is required to contribute — backend features (GitHub
login + favorites) are off by default (NEXT_PUBLIC_BACKEND=false in
.env.example) and the site runs UI-only without them.
To enable them, the frontend needs one table (favorites) plus GitHub auth.
To set that up on a personal or local Supabase project:
- Create a project at supabase.com (or run
supabase startlocally). - Run
examples/favorites.sqlin the SQL editor. - Enable the GitHub auth provider (see "GitHub authentication setup" in the root README).
- Copy
.env.exampleto.env.local, setNEXT_PUBLIC_BACKEND=true, and fill inNEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY.
The examples mirror the production schema the frontend depends on, but this repository is not intended to reproduce the complete hosted backend.