File tree Expand file tree Collapse file tree 8 files changed +2050
-40
lines changed Expand file tree Collapse file tree 8 files changed +2050
-40
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ DB_PASSWORD=secret
1212
1313# Log
1414LOGGING_LEVEL=debug
15+ LOG_FILE_GENERATION_SUPPORT=false
1516
1617# Authentication
1718ACCESS_TOKEN_DURATION=10m
Original file line number Diff line number Diff line change 11APP_PORT = 8000
22
3- CODE_SOURCE =
4-
53# Database Configurations
64DB_CLIENT = pg
75DB_HOST = 127.0.0.1
@@ -11,6 +9,7 @@ DB_USER=
119DB_PASSWORD =
1210
1311# Log
12+ LOGGING_DIR =
1413LOGGING_LEVEL = debug
1514
1615# Authentication
Original file line number Diff line number Diff line change 11<p align =" center " ><a href =" https://imgur.com/A1URjPL " ><img alt =" Typescript API Starter " src =" https://i.imgur.com/A1URjPL.png " ></a ></p >
22<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">
55 </a >
66</p >
77
Original file line number Diff line number Diff line change 9696 "supertest" : " ^6.1.4" ,
9797 "sync-dotenv" : " ^2.6.2" ,
9898 "ts-jest" : " ^28.0.5" ,
99- "ts-node" : " ^10.8 .1" ,
99+ "ts-node" : " ^10.9 .1" ,
100100 "tslib" : " ^2.4.0" ,
101- "typescript" : " ^4.7 .4"
101+ "typescript" : " ^4.8 .4"
102102 }
103103}
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ export default {
3131 level : process . env . LOGGING_LEVEL || 'info' ,
3232 maxSize : process . env . LOGGING_MAX_SIZE || '20m' ,
3333 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'
3536 } ,
3637 db : {
3738 client : process . env . DB_CLIENT ,
You can’t perform that action at this time.
0 commit comments