-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (19 loc) · 802 Bytes
/
Copy path.env.example
File metadata and controls
26 lines (19 loc) · 802 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
# SkillMatrix LMS Environment Configuration Example
# Server Listening Port
PORT=5000
# Node Execution Environment (development | production | test)
NODE_ENV=development
# MongoDB Connection String (MongoDB Atlas or Local Instance)
MONGODB_URI=mongodb://127.0.0.1:27017/skillmatrix
# JWT Cryptographic Secrets (Generate strong min 32-char random strings in production)
JWT_ACCESS_SECRET=your_jwt_access_secret_key_min_32_chars_long
JWT_REFRESH_SECRET=your_jwt_refresh_secret_key_min_32_chars_long
# Frontend Client URL (For CORS policies)
CLIENT_URL=http://localhost:5173
# Global API Rate Limiter Settings
RATE_LIMIT_WINDOW=900000
RATE_LIMIT_MAX=100
# Storage / Cloudinary Configuration (Optional for Cloud Storage Abstraction)
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=