Repository-pattern with DTO And Typescript Minimal implementation of Restapis using express, typescript, Repository pattern, DTO Installation setup 1. Basic dependencies npm install express dotenv nodemon jwt joi mongoose pm2 jest supertest 2. Typescript dependencies npm install -D typescript @types/express @types/node 3. Generate tsconfig file npx tsc --init