-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
48 lines (35 loc) · 1.27 KB
/
.env.example
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
# -----------------------
# Application Configuration
# -----------------------
# Port number on which the application runs
PORT=3000
# URL for connecting to the MongoDB database
MONGODB_URL=mongodb://127.0.0.1:27017/node-boilerplate
# -----------------------
# Authentication and Tokens
# -----------------------
# Secret key used to sign JWTs (keep this secure and unique for production)
JWT_SECRET=thisisasamplesecret
# Token expiration times:
# Access token lifetime (in minutes)
JWT_ACCESS_EXPIRATION_MINUTES=30
# Refresh token lifetime (in days)
JWT_REFRESH_EXPIRATION_DAYS=30
# Reset password token lifetime (in minutes)
JWT_RESET_PASSWORD_EXPIRATION_MINUTES=10
# Verify email token lifetime (in minutes)
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=10
# -----------------------
# Email Configuration
# -----------------------
# Default "from" email address for outgoing emails
# API key for Resend email service
# (Replace with your actual Resend API key)
RESEND_API_KEY=yoursecretkey
# -----------------------
# Google Cloud Configuration
# -----------------------
# Base64-encoded service account key for Google Cloud
# (This should be a Base64-encoded string of your service account JSON key)
GOOGLE_APPLICATION_CREDENTIALS_BASE64=yourcredentialsbase64