nestjs-crud-utils v0.0.2
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.
Features
:electric_plug: Super easy to install and start using the full-featured controllers and services :point_right:
:octopus: DB and service agnostic extendable CRUD controllers
:mag_right: Reach query parsing with filtering, pagination, sorting, relations, nested relations, cache, etc.
:telescope: Framework agnostic package with query builder for a frontend usage
:space_invader: Query, path params and DTOs validation included
:clapper: Overriding controller methods with ease
:wrench: Tiny config (including globally)
:gift: Additional helper decorators
:pencil2: Swagger documentation
Install
npm i nestjs-crud-utils class-transformer class-validator @nestjs/typeorm typeorm
Documentations
- 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)