-
Notifications
You must be signed in to change notification settings - Fork 58
/
.env.example
45 lines (40 loc) · 1.24 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
# App
APP_NAME=express-typescript-starter
APP_PORT=3000
APP_ROUTE_PREFIX=/api
JWT_SECRET=RANDOM_STRING_5729151279
APP_URL=http://localhost:3000
# DB
TYPEORM_CONNECTION=mysql
TYPEORM_HOST=127.0.0.1
TYPEORM_PORT=3306
TYPEORM_USERNAME=kutia
TYPEORM_PASSWORD=6028201644
TYPEORM_DATABASE=express-typescript
TYPEORM_SYNCHRONIZE=false
TYPEORM_LOGGING=TRUE
TYPEORM_ENTITIES=src/api/models/**/*.ts,src/api/models/**/*.js
TYPEORM_MIGRATIONS=src/database/migrations/*.ts,src/database/migrations/*.js
TYPEORM_DRIVER_EXTRA='{"bigNumberStrings": false}'
# MAIL
MAIL_PROVIDER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_AUTH_PASSWORD=password
MAIL_FROM_NAME='My App'
# Cron Jobs
ENABLE_CRON_JOBS=false
# Graph QL
ENABLE_GRAPHQL=true
# Path
TYPEORM_ENTITIES_DIR=src/api/models
TYPEORM_MIGRATIONS_DIR=src/database/migrations
TYPEORM_SEEDING_FACTORIES=src/database/factories/**/*{.ts,.js}
TYPEORM_SEEDING_SEEDS=src/database/seeds/**/*{.ts,.js}
CONTROLLERS_DIR=/api/controllers/**/*Controller{.ts,.js}
CRON_JOBS_DIR=/api/cron-jobs/**/*Job{.ts,.js}
MIDDLEWARES_DIR=/infrastructure/middlewares/**/*{.ts,.js}
SUBSCRIBERS_DIR=/api/subscribers/**/*Subscriber{.ts,.js}
EVENTS_DIR=/api/events/**/*{.ts,.js}
RESOLVERS_DIR=/api/resolvers/**/*Resolver{.ts,.js}