-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
72 lines (59 loc) · 2.35 KB
/
.env.example
File metadata and controls
72 lines (59 loc) · 2.35 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ====================================
# GAMESCOPE ENVIRONMENT CONFIGURATION
# ====================================
# ====================================
# Server-side API Keys
# ====================================
# RAWG API key for fetching game data, screenshots, reviews, and trending games
RAWG_API_KEY=your_rawg_api_key_here
# ====================================
# Authentication Setup
# ====================================
# NextAuth.js secret for JWT signing and encryption
NEXTAUTH_SECRET=your_nextauth_secret_here
# App URL for NextAuth callback handling
NEXTAUTH_URL=http://localhost:3000
# ====================================
# Google OAuth Configuration
# ====================================
# Google OAuth credentials for user authentication
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# ====================================
# Database Configuration
# ====================================
# Neon PostgreSQL database connection strings
POSTGRES_URL=postgres://username:password@host/database?sslmode=require
POSTGRES_PRISMA_URL=postgres://username:password@host/database?connect_timeout=15&sslmode=require
POSTGRES_URL_NON_POOLING=postgres://username:password@host/database?sslmode=require
POSTGRES_USER=your_postgres_user
POSTGRES_HOST=your_postgres_host
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DATABASE=your_postgres_database
# ====================================
# Client-side Configuration
# ====================================
# Public app URL for client-side redirects and API calls
NEXT_PUBLIC_APP_URL=http://localhost:3000
# OAuth configuration status indicator
NEXT_PUBLIC_OAUTH_CONFIGURED=true
# ====================================
# Security & Rate Limiting
# ====================================
# Allowed origins for CORS protection
ALLOWED_ORIGINS=http://localhost:3000,https://your-domain.vercel.app
# Rate limiting configuration
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW=900000
# ====================================
# Usage Monitoring & Limits
# ====================================
# Daily user limit for usage tracking
MAX_DAILY_USERS=200
# RAWG API call limits to stay within free tier
MAX_RAWG_CALLS_PER_HOUR=100
MAX_RAWG_CALLS_PER_DAY=10000
# Enable usage monitoring and alerts
ENABLE_USAGE_ALERTS=true
# Admin email for system notifications and usage alerts
ADMIN_EMAIL=your-admin-email@example.com