-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (37 loc) · 3.09 KB
/
Copy path.env.example
File metadata and controls
48 lines (37 loc) · 3.09 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
# ReCode — Environment Variables Reference
# Copy this file to .env and fill in your values
# ─── API URL ──────────────────────────────────────────────────────────────────
VITE_API_URL=http://localhost:5000
# ─── Database ─────────────────────────────────────────────────────────────────
MONGO_URI=mongodb+srv://username:password@cluster.mongodb.net/database
# ─── Authentication ───────────────────────────────────────────────────────────
# Generate a secure random string (min 32 chars)
JWT_SECRET=your-super-secret-jwt-key-min-32-chars
# ─── NVIDIA NIM API (Required) ────────────────────────────────────────────────
# Sign up and get a key at: https://build.nvidia.com/settings/api-key
# Default model: qwen/qwen2.5-coder-32b-instruct (code-specialized, ideal for DSA)
NVIDIA_API_KEY=nvapi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
VITE_NVIDIA_API_KEY=nvapi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Optional: Override the default AI model
# NVIDIA_MODEL=qwen/qwen2.5-coder-32b-instruct
# ─── Upstash Redis (Caching — optional but recommended in production) ─────────
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) ─────────────────────────────────────────────────────
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-app-password
EMAIL_FROM=noreply@recode.sbs
# ─── Application Settings ─────────────────────────────────────────────────────
NODE_ENV=production
FRONTEND_URL=https://recode.sbs
# ─── OAuth ────────────────────────────────────────────────────────────────────
VITE_GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# ─── Razorpay Payment Gateway ─────────────────────────────────────────────────
RAZORPAY_KEY_ID=rzp_test_xxxxxxxxxxxxx
RAZORPAY_KEY_SECRET=your_razorpay_secret_key
RAZORPAY_WEBHOOK_SECRET=your_webhook_secret