-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
40 lines (30 loc) · 829 Bytes
/
.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
# App's running environment
NODE_ENV="development"
# App's running port
PORT= 4040
# Keep logs (in days)
# default: 10
# Note: Keeps log-files of no. of days defined
LOG_DAYS=10
# Max request body size
APP_MAX_UPLOAD_LIMIT="50mb"
# Max Parameter Limit that are allowed in
# URL-encoded data
APP_MAX_PARAMETER_LIMIT=5000
# Is CORS Enabled
# default: true (Accepts only boolean)
CORS_ENABLED=true
# API Prefix
API_PREFIX="api"
# JSON Web Tokem Expiry time
# Note: In minutes
JWT_EXPIRES_IN='24h'
# App's global details
APP_NAME="Todo App"
APP_URL="http://localhost:4040"
# App's secret key
# Note: This value will be used in CSRF Token
# as well as in JSON Web Token (ie. JWT)
APP_SECRET="1242#$%$^%!@@$!%*(%^jnadkjcn"
# Mongoose uri with the database name
MONGOOSE_URL="mongodb://127.0.0.1:27017/express-graphql-todo"