Crud
NestJs CRUD for RESTful APIs
Install / Use
/learn @nestjsx/CrudREADME
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.
Features
<img align="right" src="img/crud-usage2.png" alt="CRUD usage" />-
: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
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
RequestQueryBuilderclass for a frontend usage andRequestQueryParserthat 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)
Documentation
- :dart: General Information
- :video_game: CRUD Controllers
- :horse_racing: CRUD ORM Services
- :trumpet: Handling Requests
Support
Any support is welcome. At least you can give us a star :star:
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute]. <a href="https://github.com/nestjsx/crud/graphs/contributors"><img src="https://opencollective.com/nestjsx/contributors.svg?width=890&button=false" /></a>
Financial Contributors
Become a financial contributor and help us sustain our community. [Contribute]
Individuals
<a href="https://opencollective.com/nestjsx#backers" target="_blank"><img src="https://opencollective.com/nestjsx/backers.svg?width=890&button=false"></a>
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
<a href="https://opencollective.com/nestjsx/sponsor/0/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/1/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/2/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/3/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/4/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/5/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/6/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/7/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/8/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/nestjsx/sponsor/9/website" target="_blank"><img src="https://opencollective.com/nestjsx/sponsor/9/avatar.svg"></a>
License
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
99.2kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
99.9kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
