-
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathenv_example
More file actions
36 lines (22 loc) · 1.12 KB
/
env_example
File metadata and controls
36 lines (22 loc) · 1.12 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
29
30
31
32
33
34
35
36
# Example environment file for backend
# Supabase Configuration (Required)
# Get these from: https://app.supabase.com/project/_/settings/api
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your-supabase-anon-key-here
SUPABASE_SERVICE_KEY=your-service-role-key
# Database Configuration (Optional - Supabase PostgreSQL direct connection)
# Get this from: Settings → Database → Connection string → URI
DATABASE_URL=postgresql://postgres.your-project-ref:[YOUR-PASSWORD]@aws-0-region.pooler.supabase.com:6543/postgres
# AI Configuration (Optional)
GROQ_API_KEY=your-groq-api-key
AI_API_KEY=your-openai-api-key-optional
# Gemini API Key (Optional)
GEMINI_API_KEY=your-gemini-api-key-here
# CORS Origins (comma-separated)
# For production, include your production frontend URL(s)
# Example: ALLOWED_ORIGINS=https://your-frontend-domain.com,https://www.your-frontend-domain.com
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# JWT Secret Key from Supabase
# Location: Dashboard → Project Settings → API → JWT Settings → JWT Secret
# Use the JWT Secret (NOT the anon key!)
SUPABASE_JWT_SECRET=your_jwt_key