-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (40 loc) · 1.77 KB
/
.env.example
File metadata and controls
55 lines (40 loc) · 1.77 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
# Environment Variables
# API URL (your deployed backend URL in production)
VITE_API_URL=http://localhost:5000
# MongoDB Connection
MONGO_URI=mongodb+srv://username:password@cluster.mongodb.net/database
# JWT Secret (generate a secure random string)
JWT_SECRET=your-super-secret-jwt-key-min-32-chars
# Qubrid AI API
QUBRID_API_KEY=your_qubrid_api_key_here
VITE_QUBRID_API_KEY=your_qubrid_api_key_here
# Upstash Redis (optional but recommended for faster caching)
UPSTASH_REDIS_REST_URL=https://your-redis-url.upstash.io
UPSTASH_REDIS_REST_TOKEN=your_upstash_token_here
# Admin Panel
ADMIN_PASSWORD=your_secure_admin_password
# Email Service (SMTP - configured for Gmail by default, change for Resend/Custom Domain)
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-app-password
EMAIL_FROM=noreply@recode.sbs # Optional: specific sender address (default to EMAIL_USER)
# AI Provider Configuration (optional - defaults to Qubrid)
# Options: 'ollama' | 'qubrid' | 'openai' | 'fireworks'
AI_PROVIDER=qubrid
# Ollama Configuration (only needed if AI_PROVIDER=ollama)
OLLAMA_BASE_URL=http://127.0.0.1:11434/v1
OLLAMA_MODEL_REASONING=deepseek-r1:7b
OLLAMA_MODEL_CODING=qwen2.5-coder:7b
OLLAMA_MODEL_EXPLANATION=qwen2.5:7b
# Production Settings
NODE_ENV=production
FRONTEND_URL=https://recode.sbs # Your production domain
# OAuth - Google (get from https://console.cloud.google.com/apis/credentials)
# OAuth - GitHub (get from https://github.com/settings/developers)
VITE_GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# Razorpay Payment Gateway (get from https://dashboard.razorpay.com/app/keys)
RAZORPAY_KEY_ID=rzp_test_xxxxxxxxxxxxx
RAZORPAY_KEY_SECRET=your_razorpay_secret_key
RAZORPAY_WEBHOOK_SECRET=your_webhook_secret