-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
83 lines (72 loc) · 2.03 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
###################################
# ENV
###################################
PORT=3000
###################################
# APP
###################################
APP_NAME=Express Demo
###################################
# DATABASE
###################################
DB_HOST=localhost
DB_DATABASE=YourDatabaseName
DB_USER=YourMySQLUser
DB_PASS=YourPasswordMySQLUser
DB_DIALECT=mysql
DB_POOL_MAX=5
DB_POOL_MIN=0
DB_POOL_IDLE=10000
DB_LOGGING=true
###################################
# SESSION
###################################
SESSION_WORD=AnySecreteWord
SESSION_AGE=86400000
SESSION_ONLY_HTTP=false
###################################
# BCRYPT
###################################
BCRYPT_SALT_ROUNDS=10
###################################
# EMAIL SERVER
###################################
EMAIL_USER=YourEmailAccount
EMAIL_PASSWORD=YourPassword
EMAIL_HOST=YourSMTP
EMAIL_SSL=true
EMAIL_PORT=YourEmailSMTPPort
EMAIL_TLS=false
###################################
# EMAIL SENDER
###################################
EMAIL_SENDER=SameOrOtherEmailAccount
###################################
# TEST
###################################
TEST_LOGIN_EMAIL=SameOrOtherEmailAccountForTest
################################################################################
# Optional
################################################################################
###################################
# FACEBOOK
###################################
FB_ID=YourFacebookAppID
FB_SECRET=YourFacebookAppSecret
FB_SCOPE=email
FB_CALLBACK=http://localhost:3000/auth/facebook/callback
###################################
# GOOGLE
###################################
GG_ID=YourGoogleAppID
GG_SECRET=YourGoogleAppSecret
GG_SCOPE=email
GG_CALLBACK=http://localhost:3000/auth/google/callback
###################################
# TWITTER
###################################
TW_ID=YourTwitterAppID
TW_SECRET=YourTwitterAppSecret
TW_SCOPE=email
TW_CALLBACK=http://localhost:3000/auth/twitter/callback
TW_USER_PROFILE="https://api.twitter.com/1.1/account/verify_credentials.json?include_email=true"