forked from rootstrap/node-ts-api-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.example.env.test
More file actions
50 lines (34 loc) · 712 Bytes
/
.example.env.test
File metadata and controls
50 lines (34 loc) · 712 Bytes
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
#PORT
PORT = 3001
#DOCS
DOCS_ENABLED = true
#TYPEORM
TYPEORM_TYPE = postgres
TYPEORM_HOST = localhost
TYPEORM_USERNAME = postgres
TYPEORM_PASSWORD = postgres
TYPEORM_DATABASE = express_api_base_test
TYPEORM_PORT = 5432
TYPEORM_SYNCHRONIZE = true
TYPEORM_LOGGING = false
TYPEORM_MIGRATIONS_RUN = true
#REDIS
REDIS_HOST = localhost
REDIS_PORT = 6379
#TOKEN
JWT_SECRET = some-secret-string
ACCESS_TOKEN_LIFE = 360000000
#RATE LIMIT
RATE_LIMIT_WINDOW = 5
RATE_LIMIT_MAX_REQUESTS = 100
#AWS
AWS_ID=<ID>
AWS_SECRET=<SECRET>
AWS_REGION=<REGION>
AWS_S3_BUCKETNAME=api-express-test
AWS_SES_API_VERSION=<VERSION>
#SENDGRID
SENDGRID_API_USER=<USER>
SENDGRID_API_KEY=<API-KEY>
#Email
EMAIL_TRANSPORTER = AWS