-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 939 Bytes
/
Copy path.env.example
File metadata and controls
39 lines (32 loc) · 939 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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Application
NODE_ENV=development
PORT=3000
API_PREFIX=api
# Database
DB_SERVER=localhost
DB_PORT=1433
DB_NAME=DocumentManagementDB
DB_USER_ADMIN=app_admin
DB_PASSWORD_ADMIN=AdminSecure@2024!
DB_USER=app_user
DB_USER_PASSWORD=UserSecure@2024!
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRATION=7d
# Microsoft Authentication
MICROSOFT_CLIENT_ID=your_client_id
MICROSOFT_CLIENT_SECRET=your_client_secret
MICROSOFT_TENANT_ID=your_tenant_id
MICROSOFT_REDIRECT_URI=https://localhost:3000/api/auth/microsoft/callback
# Huffman Encryption Trees
# Run 'pnpm huffman:generate' to create these files
HUFFMAN_TREE_BACK_PATH=src/features/encryption/trees/huffman-back.tree.json
HUFFMAN_TREE_DB_PATH=src/features/encryption/trees/huffman-db.tree.json
# Development
DEV_MODE=true
BYPASS_AUTH=true
# CORS
CORS_ORIGIN=https://localhost:5173
# SSL
SSL_KEY_PATH=./ssl/private.key
SSL_CERT_PATH=./ssl/certificate.crt