nest-crud-mongoose

NestJs CRUD for RESTful APIs - Mongoose
typescript mongoose mongodb nest nestjs rest restful api crud crud-generator backend frameworks


Summary

Project Name nest-crud-mongoose Project Url https://github.com/nestjsx/crud#readme
InceptionYear 2019-12-21 18:58:59 更新时间 2019-12-24 08:14:40
IssueManagement https://github.com/nestjsx/crud/issues Licenses MIT
仓库地址 git+https://github.com/nestjsx/crud.git 用户数 0
Node Engine 文件大小 8.6 KB
install build

项目介绍

CRUD (nest-crud-mongoose)

This is a canary version of CRUD Mongoose for testing before it is merged into @nestjsx/crud

for RESTful APIs built with NestJs


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 Reference: [Integration Tests](https://github.com/yharaskrik/crud/tree/master/integration/crud-mongoose) for examples on usage - 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 - Swagger documentation ## Install ```shell npm i nest-crud-mongoose @nestjs/mongoose mongoose ``` ## Packages - [**@nestjsx/crud**](https://www.npmjs.com/package/@nestjsx/crud) - core package which provides `@Crud()` decorator for endpoints generation, global configuration, validation, helper decorators ([docs](https://github.com/nestjsx/crud/wiki/Controllers#description)) - [**@nestjsx/crud-request**](https://www.npmjs.com/package/@nestjsx/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/nestjsx/crud/wiki/Requests#frontend-usage)) - [**nest-crud-mongoose**](https://www.npmjs.com/package/nest-crud-mongoose) - Mongoose package which provides base `MongooseCrudService` with methods for CRUD database operations ([docs](https://github.com/nestjsx/crud/wiki/ServiceMongoose)) ## Documentation - [General Information](https://github.com/nestjsx/crud/wiki#why) - [CRUD Controllers](https://github.com/nestjsx/crud/wiki/Controllers#description) - [CRUD ORM Services](https://github.com/nestjsx/crud/wiki/Services#description) - [Handling Requests](https://github.com/nestjsx/crud/wiki/Requests#description) ## Support Any support is welcome. At least you can give us a star. ## Contributors ### Code Contributors This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.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)