An open API service indexing awesome lists of open source software.

https://github.com/lamaparbat/repository-pattern-ts-express

Express-TS Repository Pattern With Modular Pattern
https://github.com/lamaparbat/repository-pattern-ts-express

awilix dependency-injection dtos express-typescript modular-design repository-pattern

Last synced: about 2 months ago
JSON representation

Express-TS Repository Pattern With Modular Pattern

Awesome Lists containing this project

README

          

# 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 helmet cors
```

#### 2. Typescript dependencies
```
npm install -D typescript awilix awilix-express ts-node @types/express @types/node
```

### 3. Generate tsconfig file
```
npx tsc --init
```