-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 909 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (23 loc) · 909 Bytes
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
# AP Java Server Environment Variables
# Copy this file to .env and fill in your actual values
# NEVER commit .env file to git!
# Server Configuration
PORT=3000
NODE_ENV=development
# REQUIRED: Session Secret (MUST be set for security)
# Generate with: openssl rand -hex 32
SESSION_SECRET=your-session-secret-here-change-me
# Teacher Authentication
# Set a strong password (12+ characters recommended)
DEFAULT_TEACHER_PASSWORD=your-secure-password-here
# Claude AI API Key (optional - can also be set in teacher dashboard)
# Get from: https://console.anthropic.com/
# CLAUDE_API_KEY=sk-ant-your-key-here
# CORS Configuration (optional)
# Comma-separated list of allowed origins
ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Logging Configuration
LOG_LEVEL=info # Options: error, warn, info, debug
# Production Settings (uncomment for production)
# NODE_ENV=production
# USE_HTTPS=true