joyearnaud / clean-architecture-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
  },

Initialize data source

yarn add mongodb 
yarn add -D @types/mongodb

About


Languages

Language:TypeScript 98.9%Language:JavaScript 1.1%