From 9373c710da9822058402dc5e2b5fd9658539fa5f Mon Sep 17 00:00:00 2001 From: Amin Serajfard Date: Thu, 27 Jan 2022 15:41:44 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cc9e91b..a45d97d 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ Includes two APIs for creating log and getting logs. AppGateway is used to manage socket connection for real time streaming. +## Database + +Sqlite is used as Database. There are two database files in data folder for development and testing. We can manage to use correct DB automatically based on environment and NestJS config file but in this sample code a manual config file is used. + ## Installation ```bash @@ -59,6 +63,8 @@ $ npm run start:prod ## Test +Seperate DB is used for testing purpose and it is managed properly. + ```bash # unit tests $ npm run test From 95274bd4d2d7b6ee369fd5922211d7f09689a6ee Mon Sep 17 00:00:00 2001 From: Amin Serajfard Date: Thu, 27 Jan 2022 15:44:17 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a45d97d..a8d2a6b 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Swagger is used to generate API document automatically. Follow below steps to se $ npm run start ``` -2. Open this addres `http://localhost:3001/swagger/` in browser +2. Open following address `http://localhost:3001/swagger/` in browser