-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
45 lines (35 loc) · 1.36 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
# ------------------------------------------------
# APPLICATION
# ------------------------------------------------
# You can change the applications port here.
# Defaults to 3000.
# PORT=3000
# ------------------------------------------------
# DATABASE
# ------------------------------------------------
# Example connection strings:
# mongodb://127.0.0.1:27017/rest-api-nodejs-mongodb
# mongodb://[MongodbHost]:[PORT]/[DatabaseName]
MONGODB_URL=ConnectionString
# ------------------------------------------------
# JWT
# ------------------------------------------------
# The secret may only container small letters and numbers (abcdefghijklmnopqrstuvwxyz1234567890).
JWT_SECRET=YourSecret
# Further information about the syntax can be found in the
# official github repository:
# https://github.com/auth0/node-jsonwebtoken#usage
JWT_TIMEOUT_DURATION="2 hours"
# ------------------------------------------------
# EMAIL
# ------------------------------------------------
# Connection to your smtp provider
EMAIL_SMTP_HOST=smtp.example.dev
EMAIL_SMTP_PORT=465
EMAIL_SMTP_USERNAME=noreply
EMAIL_SMTP_PASSWORD=noreply
EMAIL_SMTP_SECURE=true # true for port 465, false for other ports.
# Sets the default 'from'-address
EMAIL_FROM=no-reply@example.dev
# Sets the base url of links in emails, using the generateLink() method of utils.
EMAIL_BASE_URL=http://localhost:3000