We believe that everyone who's working with NestJs and building some RESTful services and especially some CRUD functionality will find nestjs-crud-utils
microframework very useful.
-
🔌 Super easy to install and start using the full-featured controllers and services 👉
-
🐙 DB and service agnostic extendable CRUD controllers
-
🔎 Reach query parsing with filtering, pagination, sorting, relations, nested relations, cache, etc.
-
🔭 Framework agnostic package with query builder for a frontend usage
-
👾 Query, path params and DTOs validation included
-
🎬 Overriding controller methods with ease
-
🔧 Tiny config (including globally)
-
🎁 Additional helper decorators
-
✏️ Swagger documentation
npm i nestjs-crud-utils class-transformer class-validator @nestjs/typeorm typeorm
- Controller - provides
@Crud()
decorator for endpoints generation, global configuration, validation, helper decorators (docs) - Request Options - provides a full range of path and query parameters parsing/validation to help you build rich RESTful APIs (docs)
- Service - provides a CRUD service for relational databases build with TypeORM (docs)