We believe that everyone who's working with NestJs and building some RESTful services and especially some CRUD functionality will find @nestjsx/crud micro-framework very useful.
Features๏ปฟ๏ปฟ
๐ 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
Packages
@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 RequestQueryBuilder class for a frontend usage and RequestQueryParser that is being used internaly for handling and validating query/path params on a backend side (docs)
@nestjsx/crud-typeorm - TypeORM package which provides base TypeOrmCrudService with methods for CRUD database operations (docs)