-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (24 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
32 lines (24 loc) · 1.33 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
# DevSensei — Environment Variables
# Copy this file: cp .env.example .env
# Then fill in your values. NEVER commit .env to git.
# ── Required ──────────────────────────────────
# Gemini API key — get it free from:
# https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# ── Optional: Server Configuration ──────────────────────────────────
# Server port (default: 3000)
PORT=3000
# Environment mode: development or production
NODE_ENV=production
# Health check response message
PING_MESSAGE="pong"
# ── Optional: Rate Limiting Configuration ──────────────────────────────────
# Rate limit window in milliseconds (default: 15000 = 15 seconds)
# Limits brute-force attacks on API endpoints
RATE_LIMIT_WINDOW_MS=15000
# Maximum requests allowed per window (default: 30 requests)
RATE_LIMIT_MAX_REQUESTS=30
# ── Optional: Gemini API Configuration ──────────────────────────────────
# Timeout for Gemini API calls in milliseconds (default: 30000 = 30 seconds)
# Prevents hanging requests if API is slow or unresponsive
API_TIMEOUT_MS=30000