Skip to main content
This page is for developers working on the Vinum E-Label application itself.
The Vite app reads its public Supabase configuration from environment variables at build time.

Required variables

Both values are safe to expose to the browser — access control is enforced by row-level security on the database, not by keeping these values secret.

Local setup

Fill in the values from your Supabase project settings. The repository intentionally does not track .env or .env.* files.

Production setup

Configure the same variables in the hosting platform that builds the app (Cloudflare Pages). Server-side secrets — Stripe keys, webhook secrets — live in Supabase edge function configuration, never in VITE_* variables.

Supabase services in use

  • Authentication (including magic-link sign-in)
  • PostgreSQL with row-level security
  • Storage (QR code SVGs)
  • Edge functions (billing webhooks, label import)
Review RLS policies and edge function environment values before promoting a new deployment.