template
This commit is contained in:
43
backend/.env.example
Normal file
43
backend/.env.example
Normal file
@@ -0,0 +1,43 @@
|
||||
# =============================================================================
|
||||
# ENVIRONMENT VARIABLES
|
||||
# =============================================================================
|
||||
# Copy this file to .env and fill in your values
|
||||
# NEVER commit .env to version control!
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# SERVER CONFIGURATION
|
||||
# -----------------------------------------------------------------------------
|
||||
PORT=8000
|
||||
ENVIRONMENT=development
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# SUPABASE CONFIGURATION
|
||||
# -----------------------------------------------------------------------------
|
||||
# Get these from: https://app.supabase.com/project/_/settings/api
|
||||
SUPABASE_URL=https://your-project.supabase.co
|
||||
SUPABASE_SERVICE_KEY=your-service-role-key-here
|
||||
# Note: Use SERVICE KEY (not anon key) for backend - has admin access
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# AI PROVIDER CONFIGURATION
|
||||
# -----------------------------------------------------------------------------
|
||||
# Choose your AI provider and add the appropriate key
|
||||
|
||||
# OpenAI (GPT-4, GPT-3.5)
|
||||
OPENAI_API_KEY=sk-your-openai-key-here
|
||||
|
||||
# Anthropic (Claude)
|
||||
# ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here
|
||||
|
||||
# Default AI provider to use: "openai" or "anthropic"
|
||||
AI_PROVIDER=openai
|
||||
|
||||
# Default model to use
|
||||
AI_MODEL=gpt-3.5-turbo
|
||||
# Other options: gpt-4, gpt-4-turbo, claude-3-opus-20240229, claude-3-sonnet-20240229
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# CORS CONFIGURATION
|
||||
# -----------------------------------------------------------------------------
|
||||
# Comma-separated list of allowed origins
|
||||
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
||||
Reference in New Issue
Block a user