-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
66 lines (48 loc) · 2.01 KB
/
Copy pathenv.example
File metadata and controls
66 lines (48 loc) · 2.01 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# VisualAID Environment Variables Template
# Copy this file to .env and fill in your actual values
# ============================================
# DATABASE CONFIGURATION (Supabase)
# ============================================
# Supabase PostgreSQL Connection String (Pooler Mode)
# Get this from: Supabase Dashboard → Settings → Database → Connection pooling → Session mode
# Format: postgresql://postgres.[project-ref]:[password]@aws-0-[region].pooler.supabase.com:6543/postgres
DATABASE_URL=postgresql://postgres.aaepdorqqabhscowpidz:YOUR_PASSWORD@aws-1-us-east-2.pooler.supabase.com:6543/postgres
# For development/testing (Direct connection - IPv6 only)
# DATABASE_URL_DEV=postgresql://postgres:YOUR_PASSWORD@db.aaepdorqqabhscowpidz.supabase.co:5432/postgres
# Alternative connection parameters (if not using connection string)
DB_HOST=aws-1-us-east-2.pooler.supabase.com
DB_PORT=6543
DB_NAME=postgres
DB_USER=postgres.aaepdorqqabhscowpidz
DB_PASSWORD=YOUR_PASSWORD
# ============================================
# AI API KEYS
# ============================================
# Google Gemini API Key
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# OpenAI API Key (for ChatGPT)
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# ============================================
# APPLICATION CONFIGURATION
# ============================================
# Node Environment
NODE_ENV=development
# Server Port
PORT=3000
# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:5173
# Backend Port
BACKEND_PORT=3000
# ============================================
# SUPABASE PROJECT INFO
# ============================================
# Supabase Project Reference
SUPABASE_PROJECT_REF=aaepdorqqabhscowpidz
# Supabase Region
SUPABASE_REGION=us-east-2
# Supabase URL (for future use with Supabase SDK)
SUPABASE_URL=https://aaepdorqqabhscowpidz.supabase.co
# Supabase Anon Key (if using Supabase REST API)
# SUPABASE_ANON_KEY=your_supabase_anon_key_here