-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
26 lines (23 loc) · 929 Bytes
/
.env
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
NODE_ENV=development
# Port number
PORT=3000
# URL of the Mongo DB
MONGODB_URL='mongodb+srv://web-db-user:[email protected]/?retryWrites=true&w=majority&appName=web-peminjaman-db'
# JWT
# JWT secret key
JWT_SECRET=thisisasamplesecret
# Number of minutes after which an access token expires
JWT_ACCESS_EXPIRATION_MINUTES=300
# Number of days after which a refresh token expires
JWT_REFRESH_EXPIRATION_DAYS=30
# Number of minutes after which a reset password token expires
JWT_RESET_PASSWORD_EXPIRATION_MINUTES=10
# Number of minutes after which a verify email token expires
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=10
# SMTP configuration options for the email service
# For testing, you can use a fake SMTP service like Ethereal: https://ethereal.email/create
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_PASSWORD=erqmbmnqbiwyphlf