forked from mhashim6/Open-Hadith-Data
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (26 loc) · 931 Bytes
/
Copy path.env.example
File metadata and controls
34 lines (26 loc) · 931 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
31
32
33
34
# Hadith API Management Configuration
# Copy this to .env and fill in your actual values
# Server Configuration
NODE_ENV=development
HOST=0.0.0.0
PORT=3000
LOG_LEVEL=info
# Rate Limiting
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW=1 minute
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=24h
# Session Configuration
SESSION_SECRET=your-super-secret-session-key-change-this-in-production
# Google OAuth 2.0 Configuration
# Get these from: https://console.developers.google.com/
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:3000/auth/google/callback
# Allowed Origins for CORS (production)
ALLOWED_ORIGINS=http://localhost:3000,https://yourdomain.com
# Database Configuration (future use)
# DATABASE_URL=your-database-url
# Admin Configuration
ADMIN_EMAILS=your-email@gmail.com