# crudjs **Repository Path**: crudjsx/crudjs ## Basic Information - **Project Name**: crudjs - **Description**: fork from https://github.com/gid-oss/dataui-nestjs-crud - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-09-03 - **Last Updated**: 2025-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

CRUD

for RESTful APIs built with NestJs

Build Coverage License npm version npm downloads Package Quality Renovate PRs welcome Awesome REST Awesome Nest Nest Powered
Built with :purple_heart: by @MichaelYali and Contributors
:star2: :eyes: :zap: :boom:

We believe that everyone who's working with NestJs and building some RESTful services and especially some CRUD functionality will find `@crudjs/crud` microframework very useful. ## Features 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 ## Install yarn add @dataui/crud-typeorm yarn add @crudjs/crud-typeorm@5.2.0 ## Packages - [**@crudjs/crud**](https://www.npmjs.com/package/@crudjs/crud) - core package which provides `@Crud()` decorator for endpoints generation, global configuration, validation, helper decorators ([docs](https://github.com/nest-crud/crudjs/wiki/Controllers#description)) - [**@crudjs/crud-request**](https://www.npmjs.com/package/@crudjs/crud-request) - request builder/parser package which provides `RequestQueryBuilder` class for a frontend usage and `RequestQueryParser` that is being used internally for handling and validating query/path params on a backend side ([docs](https://github.com/nest-crud/crudjs/wiki/Requests#frontend-usage)) - [**@crudjs/crud-typeorm**](https://www.npmjs.com/package/@crudjs/crud-typeorm) - TypeORM package which provides base `TypeOrmCrudService` with methods for CRUD database operations ([docs](https://github.com/nest-crud/crudjs/wiki/ServiceTypeorm)) ## Documentation - :dart: [General Information](https://github.com/nest-crud/crudjs/wiki#why) - :video_game: [CRUD Controllers](https://github.com/nest-crud/crudjs/wiki/Controllers#description) - :horse_racing: [CRUD ORM Services](https://github.com/nest-crud/crudjs/wiki/Services#description) - :trumpet: [Handling Requests](https://github.com/nest-crud/crudjs/wiki/Requests#description) ## Build library and run tests ``` yarn bootstrap yarn clean yarn build docker compose up -d yarn test:coverage ``` ## Make a release - Merge a PR on master. - Pull and checkout master - Update Changelog and commit - Run tests `yarn clean && yarn build && docker-compose up -d && yarn test:coverage` - Run `yarn pub` - this will publish on the npm repo (need to be logged under nest-crud `yarn login`) ## 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 contributed. [[Contribute](CODE_OF_CONDUCT.md)]. ### Financial Contributors Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/nestjsx#backer)] #### Individuals #### Organizations Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/nestjsx#sponsor)] ## License [MIT](LICENSE)