@dataui/crud
TypeScript icon, indicating that this package has built-in type declarations

5.3.4 • Public • Published

CRUD (@dataui/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 @dataui/crud microframework very useful.

Features

CRUD usage

  • 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

Install

npm i @dataui/crud class-transformer class-validator

Packages

  • @dataui/crud - core package which provides @Crud() decorator for endpoints generation, global configuration, validation, helper decorators (docs)
  • @dataui/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)
  • @dataui/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

Organizations

Currently this project is NOT sponsored by anybody. Get in touch if you want to become a sponsor.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.3.45,183latest
5.1.4-alpha.3231alpha

Version History

VersionDownloads (Last 7 Days)Published
5.3.45,183
5.3.3656
5.3.281
5.3.11,116
5.3.1-alpha.3118
5.3.1-alpha.026
5.3.0348
5.2.40
5.1.130
5.1.4-alpha.50
5.1.4-alpha.40
5.1.4-alpha.3231
5.1.4-alpha.20
5.2.32
5.1.4-alpha.10
5.2.22
5.2.10
5.2.00
5.2.0-alpha.50
5.2.0-alpha.40
5.2.0-alpha.30
5.2.0-alpha.20
5.2.0-alpha.10
5.2.0-alpha.00
5.1.30

Package Sidebar

Install

npm i @dataui/crud

Weekly Downloads

7,763

Version

5.3.4

License

MIT

Unpacked Size

168 kB

Total Files

141

Last publish

Collaborators

  • zaro