-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
20 lines (15 loc) · 934 Bytes
/
Copy path.env.local.example
File metadata and controls
20 lines (15 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Environment Configuration Template
# Copy this file to `.env.local` and fill in your real values.
# Select storage provider: 'netlify' (default) or 'supabase'
VITE_STORAGE_PROVIDER=netlify
# --- Netlify + Neon Configuration ---
# 1. Netlify Identity site URL (e.g. https://your-app.netlify.app/.netlify/identity)
VITE_NETLIFY_IDENTITY_URL=https://your-app.netlify.app/.netlify/identity
# 2. Neon Postgres Database URL (set in Netlify site environment variables for netlify functions)
DATABASE_URL=postgresql://user:password@ep-something.us-east-2.aws.neon.tech/neondb?sslmode=require
# 3. Gemini API Key (set in Netlify site environment variables for netlify functions)
GEMINI_API_KEY=your_google_gemini_api_key
# --- Supabase Configuration (Optional Fallback) ---
# Set VITE_STORAGE_PROVIDER=supabase to use Supabase instead of Netlify
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key