-
Notifications
You must be signed in to change notification settings - Fork 307
Expand file tree
/
Copy path.env.example
More file actions
25 lines (19 loc) · 745 Bytes
/
Copy path.env.example
File metadata and controls
25 lines (19 loc) · 745 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
# Brownie-Bliss Server Environment Variables
# Copy this to .env and replace placeholder values.
# MongoDB Connection DSN
MONGO_URI=mongodb://127.0.0.1:27017/brownie_bliss
# Server Port
PORT=3000
# Admin Access Credentials
ADMIN_USERNAME=admin
# Provide a plain-text or pre-hashed bcrypt password (starts with $2)
ADMIN_PASSWORD=changeme
ADMIN_JWT_SECRET=replace_with_long_random_secret
ADMIN_JWT_EXPIRES_IN=2h
# Gating OTP logs (set to true to enable console logs during testing)
NODE_ENV=development
ENABLE_OTP_LOG=true
# Dynamic CORS Allowed Origins (comma-separated list of origins)
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# Optional: Third Party SMS Integration API Key
FAST2SMS_API_KEY=your_fast2sms_api_key_here