New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

testcrud

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

testcrud

Nest CRUD for RESTful APIs

unpublished
latest
Source
npmnpm
Version
5.1.0
Version published
Maintainers
0
Created
Source

CRUD

for RESTful APIs built with NestJs

Build Coverage License npm version npm downloads 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 @hamzaNb98/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 @hamzaNb98/crud-typeorm

Packages

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

Documentation

Build library and run tests

yarn install
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 docker-compose up -d && yarn rebuild && yarn test:coverage
  • Run yarn pub - this will publish on the npm repo (need to be logged under dataui 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].

Financial Contributors

Organizations

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

License

MIT

FAQs

Package last updated on 23 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts