-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.env.example
More file actions
67 lines (53 loc) · 1.6 KB
/
.env.example
File metadata and controls
67 lines (53 loc) · 1.6 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=your_username
DB_PASSWORD=your_password
DB_DATABASE=your_database
# Data Export Configuration
EXPORT_BASE_PATH=./exports
EXPORT_MAX_FILE_SIZE=100MB
EXPORT_RETENTION_DAYS=30
# Backup Configuration
BACKUP_PATH=./backups
BACKUP_SCHEDULE_CRON=0 2 * * *
# Security
JWT_SECRET=your-jwt-secret-here
# Email Configuration
EMAIL_PROVIDER=sendgrid # or 'ses'
# SendGrid Configuration
SENDGRID_API_KEY=your-sendgrid-api-key
EMAIL_FROM=noreply@yourdomain.com
EMAIL_FROM_NAME=LogiQuest
# AWS SES Configuration (if using SES)
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_REGION=your-aws-region
# Email Tracking
EMAIL_WEBHOOK_SECRET=your-webhook-secret
TRACKING_DB_HOST=localhost
TRACKING_DB_PORT=5432
TRACKING_DB_USERNAME=postgres
TRACKING_DB_PASSWORD=password
TRACKING_DB_NAME=logiquest
=======
# Authentication & Security
JWT_SECRET=your-jwt-secret-here
JWT_EXPIRY=15m
JWT_REFRESH_SECRET=your-jwt-refresh-secret-here
JWT_REFRESH_EXPIRY=7d
# OAuth Configuration
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_CALLBACK_URL=http://localhost:3000/auth/google/callback
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
GITHUB_CALLBACK_URL=http://localhost:3000/auth/github/callback
# Frontend URL (for OAuth redirects)
FRONTEND_URL=http://localhost:4200
# Email Configuration (for verification and password reset)
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_USER=your-email@example.com
EMAIL_PASSWORD=your-email-password
EMAIL_FROM=noreply@example.com