File tree 8 files changed +2050
-40
lines changed
8 files changed +2050
-40
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ DB_PASSWORD=secret
12
12
13
13
# Log
14
14
LOGGING_LEVEL=debug
15
+ LOG_FILE_GENERATION_SUPPORT=false
15
16
16
17
# Authentication
17
18
ACCESS_TOKEN_DURATION=10m
Original file line number Diff line number Diff line change 1
1
APP_PORT = 8000
2
2
3
- CODE_SOURCE =
4
-
5
3
# Database Configurations
6
4
DB_CLIENT = pg
7
5
DB_HOST = 127.0.0.1
@@ -11,6 +9,7 @@ DB_USER=
11
9
DB_PASSWORD =
12
10
13
11
# Log
12
+ LOGGING_DIR =
14
13
LOGGING_LEVEL = debug
15
14
16
15
# Authentication
Original file line number Diff line number Diff line change 1
1
<p align =" center " ><a href =" https://imgur.com/A1URjPL " ><img alt =" Typescript API Starter " src =" https://i.imgur.com/A1URjPL.png " ></a ></p >
2
2
<p align =" center " >
3
- <a href =" https://travis-ci.org /cham11ng/typescript-api-starter " >
4
- <img src="https://github.com/cham11ng/typescript-api-starter/workflows/Starter%20CI /badge.svg?branch=dev " alt="Build Status">
3
+ <a href =" https://github.com /cham11ng/typescript-api-starter/actions/workflows/ci.yml " >
4
+ <img src="https://github.com/cham11ng/typescript-api-starter/actions/ workflows/ci.yml /badge.svg" alt="Build Status">
5
5
</a >
6
6
</p >
7
7
Original file line number Diff line number Diff line change 96
96
"supertest" : " ^6.1.4" ,
97
97
"sync-dotenv" : " ^2.6.2" ,
98
98
"ts-jest" : " ^28.0.5" ,
99
- "ts-node" : " ^10.8 .1" ,
99
+ "ts-node" : " ^10.9 .1" ,
100
100
"tslib" : " ^2.4.0" ,
101
- "typescript" : " ^4.7 .4"
101
+ "typescript" : " ^4.8 .4"
102
102
}
103
103
}
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ export default {
31
31
level : process . env . LOGGING_LEVEL || 'info' ,
32
32
maxSize : process . env . LOGGING_MAX_SIZE || '20m' ,
33
33
maxFiles : process . env . LOGGING_MAX_FILES || '7d' ,
34
- datePattern : process . env . LOGGING_DATE_PATTERN || 'YYYY-MM-DD'
34
+ datePattern : process . env . LOGGING_DATE_PATTERN || 'YYYY-MM-DD' ,
35
+ logFileGenarationSupport : process . env . LOG_FILE_GENERATION_SUPPORT || 'true'
35
36
} ,
36
37
db : {
37
38
client : process . env . DB_CLIENT ,
You can’t perform that action at this time.
0 commit comments