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
- Host: GitHub
- URL: https://github.com/lamaparbat/repository-pattern-ts-express
- Owner: lamaparbat
- Created: 2023-07-27T08:09:16.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T17:03:05.000Z (almost 2 years ago)
- Last Synced: 2025-10-03T14:39:53.914Z (8 months ago)
- Topics: awilix, dependency-injection, dtos, express-typescript, modular-design, repository-pattern
- Language: TypeScript
- Homepage:
- Size: 189 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```