Birthday Wall reads its configuration exclusively from environment variables — there are no config files to edit before deploying. You need five variables in total: three for Supabase, one for the public site URL, and one to protect the admin panel. This page documents each one and shows you how to set them up locally and on Vercel.Documentation Index
Fetch the complete documentation index at: https://help.helloazhenweb.top/llms.txt
Use this file to discover all available pages before exploring further.
Required variables
The base URL of your Supabase project. You can find it under Project Settings → API → Project URL in the Supabase dashboard.Example:
https://abcdefghijklmnop.supabase.coThis variable is prefixed with NEXT_PUBLIC_ so it is available in both server and client code.The public anonymous key for your Supabase project. Located under Project Settings → API → Project API keys → anon public.Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...This key is safe to expose publicly. Row Level Security policies in your database determine what an unauthenticated caller can read or write.The service role secret key for your Supabase project. Located under Project Settings → API → Project API keys → service_role (click Reveal to show the value).Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...This key has full, unrestricted access to your database and bypasses all RLS policies. It is used only in server-side API routes and must never appear in browser-side code or be committed to version control.The full public URL of your deployed site, without a trailing slash. This is used for generating absolute links and configuring Supabase auth redirects.Example:
https://yourname-birthday.vercel.appAfter your first Vercel deployment, copy the production URL Vercel assigns and set it here, then redeploy. If you add a custom domain later, update this value to match.The password used to access the admin panel at
/admin. Choose a strong, unique value — this is the only credential protecting your admin interface.Example: a-long-random-passphrase-hereLocal development template
Create a.env.local file in the root of your project and fill in the values you collected from Supabase:
Setting variables on Vercel
For each variable:- Go to your Vercel project dashboard and click Settings.
- Select Environment Variables from the left sidebar.
- Click Add and enter the variable name and value.
- Choose which environments the variable applies to: Production, Preview, and/or Development.
- Click Save.