Clean Architecture with TypeScript
Initial configuration done by this project
Initialize directory and TS/JEST configuration files
yarn init
yarn add -D typescript ts-node @types/node @types/express supertest @types/supertest @types/node jest @types/jest ts-jest
yarn tsc --init
yarn ts-jest config:init
Add some custome configuration in tsconfig.json
"outDir": "./lib",
"rootDir": "./src"
Add some custome configuration in package.json
"scripts": {
"test": "jest --watchAll --collectCoverage"
},
yarn add mongodb
yarn add -D @types/mongodb