forked from jimmy-lan/habits-restapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (43 loc) · 1.71 KB
/
.env.example
File metadata and controls
54 lines (43 loc) · 1.71 KB
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
########################################################################
# # Created by Jimmy Lan
########################################################################
# # This file provides an example of the needed environment variables
# # for the program to run. If you are using .env files to declare your
# # environment variables, please copy this file and rename it .env,
# # then change the values in this file.
########################################################################
# WARNING: This file should not be used directly or indirectly to provide
# environment variables for your app. The values defined in this file may
# or may not be safe.
# Environment variables
###########################################
# # Server Related Variables
###########################################
PORT=5000
# Note: If NODE_ENV is already set, this will not override
# Must be one of: `development` | `production` | `test`
NODE_ENV=development
SERVER_NAME=Auth
# Determine whether console logs should be shown
DEBUG=true
LOG_SERVER_NAME=true
# LOCATION="Toronto"
# TEST_PHASE=1
###########################################
# # Database Related Variables
###########################################
DB_URI=mongodb://localhost:27017
REDIS_URI=redis://localhost:6379
###########################################
# # JSON Web Token
###########################################
# WARNING: It is advisable to have three distinct and complicated secret
# strings. Please make sure to update the following secrets before deploying
# your application.
ACCESS_SECRET=asdf
REFRESH_SECRET=asdf
RESET_SECRET=asdf
###########################################
# # Email and SMS API Keys
###########################################
SENDGRID_KEY=<key>