I've been working with Nest for quite a long. Setting up base stuff such as CRUD services, etc. is a bit of exhausting. So I've created a project that can help you with that.
Repository provides a robust CRUD service using NestJS and Mongoose, designed to simplify the development of database interactions with built-in transaction support via Async Local Storage.
Features
- CRUD Operations: Simplify create, read, update, and delete operations using Mongoose.
- Transaction Management: Handle transactions smoothly and reliably in your services.
- Async Local Storage: Utilize Async Local Storage for context management throughout the life of a request.
For more information please refer to https://github.com/liashchynskyi/nestjs-codex/
This post was originally posted on my blog - https://liashchynskyi.net/posts/nestjs-codex-auxiliaries-for-crud-using-mongoose-with-transactions-support
Top comments (0)