https://github.com/zhuravlevma/typeorm-unit-of-work
Clean architecture for nest.js with unit of work, typescript, clean architecture, domain model, aggregates, typeorm ⚡
https://github.com/zhuravlevma/typeorm-unit-of-work
aggregates architecture async-local-storage clean-architecture ddd ddd-architecture domain-driven-design domain-model javascript nest nest-backend nestjs nestjs-backend node node-js nodejs typeorm typescript unit-of-work unit-of-work-pattern
Last synced: 3 days ago
JSON representation
Clean architecture for nest.js with unit of work, typescript, clean architecture, domain model, aggregates, typeorm ⚡
- Host: GitHub
- URL: https://github.com/zhuravlevma/typeorm-unit-of-work
- Owner: zhuravlevma
- Created: 2024-01-04T17:55:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T16:28:28.000Z (6 months ago)
- Last Synced: 2025-05-08T09:41:06.292Z (about 2 months ago)
- Topics: aggregates, architecture, async-local-storage, clean-architecture, ddd, ddd-architecture, domain-driven-design, domain-model, javascript, nest, nest-backend, nestjs, nestjs-backend, node, node-js, nodejs, typeorm, typescript, unit-of-work, unit-of-work-pattern
- Language: TypeScript
- Homepage:
- Size: 174 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unit of work pattern for TypeORM
```typescript
return this.uow.transaction(async () => {
const updatedWh = await this.saveWhPort.saveWarehouse(warehouse);
await this.saveReport.save(report);
return updatedWh;
});
```