32 lines
968 B
Text
32 lines
968 B
Text
# Supabase Configuration
|
|
# Get these values from your Supabase project settings: https://supabase.com/dashboard/project/_/settings/api
|
|
|
|
# Supabase Project URL
|
|
SUPABASE_URL=https://your-project-ref.supabase.co
|
|
|
|
# Supabase Anonymous Key (public)
|
|
SUPABASE_ANON_KEY=your-anon-key-here
|
|
|
|
# Supabase Service Role Key (secret - for backend only)
|
|
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
|
|
|
|
# Database Connection String (from Supabase Settings > Database)
|
|
DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@db.your-project-ref.supabase.co:5432/postgres
|
|
|
|
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# JWT Secret (for custom auth)
|
|
JWT_SECRET=your-secret-key-here
|
|
|
|
# Blockchain Configuration (for .aethex domain verification)
|
|
RPC_ENDPOINT=https://polygon-mainnet.infura.io/v3/YOUR_INFURA_KEY
|
|
FREENAME_REGISTRY_ADDRESS=0x...
|
|
|
|
# Frontend URL (for CORS)
|
|
FRONTEND_URL=http://localhost:5173
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|