-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (23 loc) · 1.72 KB
/
Copy path.env.example
File metadata and controls
28 lines (23 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copy this file to `.env` and fill in the values before running the app.
# Variables with NEXT_PUBLIC_ prefix are exposed to the browser.
# --- Supabase --------------------------------------------------------------
# both NEXT_PUBLIC and server values are required; the NEXT_PUBLIC_* ones
# are exposed to the client. you should set all three below.
SUPABASE_URL=https://your-supabase-project-url.supabase.co # server client uses this
NEXT_PUBLIC_SUPABASE_URL=https://your-supabase-project-url.supabase.co # browser-safe copy
NEXT_PUBLIC_SUPABASE_ANON_KEY=public-anon-key # public anon key
SUPABASE_SERVICE_ROLE_KEY=service-role-key # service role key (keep secret)
# NOTE: You must create a Supabase Storage bucket named "cleaned-files" (public or private)
# to store cleaned file outputs. Go to Supabase dashboard > Storage > New bucket.
# --- PayPal ---------------------------------------------------------------
PAYPAL_MODE=sandbox # or "live" when you go to production
PAYPAL_CLIENT_ID= # from PayPal developer dashboard (REST app credentials)
PAYPAL_CLIENT_SECRET= # from PayPal developer dashboard
NEXT_PUBLIC_PAYPAL_CLIENT_ID= # same as PAYPAL_CLIENT_ID (public)
PAYPAL_PLAN_ID= # ID of the monthly subscription plan you created
NEXT_PUBLIC_PAYPAL_PLAN_ID= # copy PAYPAL_PLAN_ID here so client code can read it (optional fallback)
# --- App configuration ---------------------------------------------------
NEXT_PUBLIC_BASE_URL=http://localhost:3000 # used for return/cancel URLs in PayPal
# --- Supbabase Direct Connection -----------------------------------------
DATABASE_URL=
# You may add other environment variables as needed (SENTRY, etc.).