Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
docs(env): add explanations on env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcaidev committed May 12, 2024
1 parent 8178205 commit f7d1b61
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
# Supabase API URL, used to query database on client-side.
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321

# Supabase anon key, used to query database on client-side.
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_URL=http://127.0.0.1:54321

# Supabase API URL, used to query database on server-side.
SUPABASE_URL=$NEXT_PUBLIC_SUPABASE_URL

# Supabase service role key, used to query database on server-side.
SUPABASE_SERVICE_ROLE_KEY=

# GitHub OAuth app client ID, used to connect to GitHub.
SUPABASE_AUTH_GITHUB_CLIENT_ID=

# GitHub OAuth app client secret, used to connect to GitHub.
SUPABASE_AUTH_GITHUB_SECRET=

# Origin of the website URL, used to construct absolute URLs.
ORIGIN=http://localhost:3000

0 comments on commit f7d1b61

Please sign in to comment.