-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathenv.example
More file actions
22 lines (17 loc) · 802 Bytes
/
env.example
File metadata and controls
22 lines (17 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Database Configuration
DATABASE_URL="postgresql://user:password@localhost:5432/jewellery_db?schema=public"
# JWT Authentication
# IMPORTANT: Generate a strong random secret (min 32 characters)
# Use: openssl rand -base64 32
JWT_SECRET="your-super-secret-jwt-key-minimum-32-characters-long-change-this-in-production"
# Environment
NODE_ENV="development"
# Admin Credentials (Optional - only for development)
# If not provided, a random password will be generated during seed
# IMPORTANT: Never use these defaults in production
ADMIN_PASSWORD="change-this-immediately-in-production"
TEST_USER_PASSWORD="change-this-for-test-user"
# CSRF Protection (Optional)
# Set to "true" in production to enable strict CSRF validation
# Default: lenient mode (backward compatible)
# ENABLE_STRICT_CSRF="false"