We believe that everyone who's working with NestJs and building some RESTful services and especially some CRUD functionality will find
@nestjsx/crud microframework very useful.
Super easy to install and start using the full-featured controllers and services :point_right:
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
npm i @nestjsx/crud class-transformer class-validator
- @nestjsx/crud - core package which provides
@Crud()decorator for endpoints generation, global configuration, validation, helper decorators (docs)
- @nestjsx/crud-request - request builder/parser package which provides
RequestQueryBuilderclass for a frontend usage and
RequestQueryParserthat is being used internally for handling and validating query/path params on a backend side (docs)
- @nestjsx/crud-typeorm - TypeORM package which provides base
TypeOrmCrudServicewith methods for CRUD database operations (docs)
Any support is welcome. At least you can give us a star.
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]