Files
uldp-degree-mangement-system/.env.example

24 lines
1.2 KiB
Plaintext

PORT=3001
HOST=0.0.0.0
NODE_ENV=development
SESSION_SECRET=your_session_secret
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin1234
BACKEND_URL=https://cms.hailearning.edu.vn/
FRONTEND_URL=https://www.hailearning.edu.vn/
ADMIN_GROUP=admin
MANAGER_GROUP=manager
MONGODB_URI=mongodb://localhost:27017/uldp
# API key for public verification endpoints
# Used by: GET /api/verify-degree/:id?api_key=xxx
# GET /api/verify-certificate/:id?api_key=xxx
API_KEY=your_api_key_here
# Secret for signing document URLs (HMAC-SHA256, keep this private)
FILE_SIGN_SECRET=change-this-to-a-random-secret-string