@jayfong/nestjsx__crud-request

NestJs CRUD for RESTful APIs - request query builder

Usage no npm install needed!

<script type="module">
  import jayfongNestjsxCrudRequest from 'https://cdn.skypack.dev/@jayfong/nestjsx__crud-request';
</script>

README

CRUD (@jayfong/nestjsx__crud-request)

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 @jayfong/nestjsx__crud microframework very useful.

Features

CRUD 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

npm i @jayfong/nestjsx__crud-request

Packages

  • @jayfong/nestjsx__crud - core package which provides @Crud() decorator for endpoints generation, global configuration, validation, helper decorators (docs)
  • @jayfong/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)
  • @jayfong/nestjsx__crud-typeorm - TypeORM package which provides base TypeOrmCrudService with methods for CRUD database operations (docs)

Documentation

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].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

MIT