-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (27 loc) · 1.11 KB
/
Copy path.env.example
File metadata and controls
35 lines (27 loc) · 1.11 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
# Server
PORT=5000
NODE_ENV=development
# MongoDB
MONGO_URI=mongodb+srv://<user>:<password>@<cluster>.mongodb.net/devact?appName=devact-cluster
# JWT
JWT_SECRET=<random-64-char-hex-string>
JWT_EXPIRE=7d
# Session Secret (used for Passport sessions)
SESSION_SECRET=<random-64-char-hex-string>
# GitHub Personal Access Token (optional — increases rate limit from 60/hr to 5000/hr)
# Create at: https://github.com/settings/tokens
# Required scopes: (none for public data) or read:user for contribution calendar
GITHUB_TOKEN=
# Google Gemini API Key (optional — enables AI repo feedback)
# Create at: https://aistudio.google.com/apikey
GEMINI_API_KEY=
# WakaTime Encryption Key — MUST BE EXACTLY 32 BYTES (32 ASCII characters)
# Generate with: node -e "console.log(require('crypto').randomBytes(16).toString('hex'))"
ENCRYPTION_KEY=
# GitHub OAuth (required for "Login with GitHub")
# Create at: https://github.com/settings/developers
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_CALLBACK_URL=http://localhost:5000/api/auth/github/callback
# Frontend URL (used for CORS and OAuth redirects)
FRONTEND_URL=http://localhost:5173