30 lines
724 B
Plaintext
30 lines
724 B
Plaintext
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# Database
|
|
DATABASE_PATH=./database/footprint.db
|
|
|
|
# JWT Secret
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
|
|
# Session Secret
|
|
SESSION_SECRET=your-session-secret-change-this-in-production
|
|
|
|
# OAuth2 - Google
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_CALLBACK_URL=http://localhost:5000/auth/google/callback
|
|
|
|
# OAuth2 - GitHub
|
|
GITHUB_CLIENT_ID=your-github-client-id
|
|
GITHUB_CLIENT_SECRET=your-github-client-secret
|
|
GITHUB_CALLBACK_URL=http://localhost:5000/auth/github/callback
|
|
|
|
# Frontend URL
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# API Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|