NestJS Scrud Module: Simplify CRUD Operations in NestJS

Nestjs_module_scrud 

A SCRUD module for Nest framework (node.js) using awesome tips for projects

NestJS SCRUD Module

SCRUD module for NestJS Framework

Install dependencies

yarn add @streamkits/nestjs_module_scrud

Usages

Filters

Syntax

filters[PREFIX + FIELD]=SEARCH

Example

filters[=subject]=53 subject field equal to 53

Usage

curl --request GET \
  --url 'http://localhost/search?limit=9999&filters%5B%5Esequence%5D=%2F53%2F&sort%5Bmetadata.createdAt%5D=-1&sort%5Bsubject%5D=1'
  
# limit=9999
# filters[^sequence]=/53/
# sort[metadata.createdAt]=-1
# sort[subject]=1

List

FilterDescription
=Equal
#Number Equal
!#Number Not Equal
!=Not Equal
>Greater Than
>=Greater Than or Equal
<Less Than
<=Less Than or Equal
@in
!@not in
@#number in
!@#number not in
^regex

Download Details:

Author: StreamKITS
Source Code: https://github.com/StreamKITS/nestjs_module_scrud 
License: MIT license

#nestjs #modules 

NestJS Scrud Module: Simplify CRUD Operations in NestJS
1.50 GEEK