-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.env.sample
More file actions
57 lines (43 loc) · 1.36 KB
/
Copy path.env.sample
File metadata and controls
57 lines (43 loc) · 1.36 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
# Server Configuration
PORT=8000
SESSION_SECRET=your-session-secret-key
SESSION_NAME=legalsid
# CORS Configuration
CORS_ORIGIN=*
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=
# MongoDB
DB_URL=mongodb://localhost:27017/legalhub
MONGODB_URI=mongodb://localhost:27017/legalhub
# Node Environment
NODE_ENV=development
# Optional APIs
MISTRAL_API_KEY=your-mistral-api-key
# Admin Secret
ADMIN_SECRECT_KEY=mysupersecretkey
# Cloudinary Configuration
CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
CLOUDINARY_API_KEY=your-cloudinary-api-key
CLOUDINARY_API_SECRET=your-cloudinary-api-secret
# Email Credentials for Forgot Password
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-email-app-password
# Use fake data for testing (set to true to avoid DB dependency)
USE_FAKE_DATA=true
# Email Credentials for your new email feature
SMTP_USER=your-smtp-username
SMTP_PASS=your-smtp-password
SMTP_HOST=host_name || smtp.gmail.com
SMTP_PORT=587
#Generate VAPID keys (once)
#npx web-push generate-vapid-keys
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
PUSH_CONTACT_EMAIL=mailto:yourmail@gmail.com
# Google OAuth(use Google Cloud Console)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=http://localhost:8000/auth/google/callback
PROD_GOOGLE_CALLBACK_URL=https://legalhub-zwk9.onrender.com/auth/google/callback
LOCAL_GOOGLE_CALLBACK=http://localhost:8000/auth/google/callback