-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (35 loc) · 1.03 KB
/
.env.example
File metadata and controls
44 lines (35 loc) · 1.03 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
# Atlas Backend Configuration
# Copy this file to .env and update with your actual credentials
# Database Configuration
MONGODB_URI=mongodb://localhost:27017
DB_NAME=atlas
# API Server Configuration
API_PORT=3001
NODE_ENV=development
HOST=localhost
# CORS Configuration
CORS_ORIGIN=http://localhost:3000,http://localhost:5173,http://localhost:8080
# Authentication Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production-at-least-32-chars
JWT_ACCESS_TOKEN_EXPIRES_IN=15m
JWT_REFRESH_TOKEN_EXPIRES_IN=7d
BCRYPT_SALT_ROUNDS=12
# AI Configuration (Required)
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_MODEL=gemini-2.5-flash
GEMINI_MAX_TOKENS=2048
GEMINI_TEMPERATURE=0.7
# AI Tagging Configuration
AI_TAGGING_CONFIDENCE=0.7
AI_MAX_TAGS_PER_ITEM=5
AI_ENABLE_AUTO_TAGGING=true
# Rate Limiting Configuration
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=1000
RATE_LIMIT_REGISTER_MAX=5
RATE_LIMIT_AUTH_MAX=10
# Logging Configuration
LOG_LEVEL=info
LOG_FORMAT=json
# Legacy Server Configuration (for existing components)
PORT=3000