More Premium Hugo Themes Premium React Themes

Nestjs Query

Easy CRUD for GraphQL.

Nestjs Query

Easy CRUD for GraphQL.

Author Avatar Theme by tripss
Github Stars Github Stars: 186
Last Commit Last Commit: May 13, 2025 -
First Commit Created: Aug 27, 2024 -
default image

Overview

Nestjs-Query is a collection of packages designed to simplify CRUD operations for GraphQL in NestJS. The motivation behind creating Nestjs-Query was to streamline common patterns found in the resolvers, such as querying, sorting, and paging, making it easier to work with GraphQL in NestJS projects.

Features

  • @ptc-org/nestjs-query-core: Defines interfaces and utility types used by other packages
  • @ptc-org/nestjs-query-graphql: Provides the GraphQL resolver and decorators for CRUD endpoints
  • @ptc-org/nestjs-query-mongoose: Implements a Mongoose service for use with or without the GraphQL resolver
  • @ptc-org/nestjs-query-sequelize: Implements a Sequelize service for use with or without the GraphQL resolver
  • @ptc-org/nestjs-query-typegoose: Implements a Typegoose service for use with or without the GraphQL resolver
  • @ptc-org/nestjs-query-typeorm: Implements a TypeORM service for use with or without the GraphQL resolver

Installation

To install Nestjs-Query, follow these steps:

  1. Clone the project repository
  2. Run the necessary commands for installation

For development contributions:

git clone [project repository]
npm install

Summary

Nestjs-Query is a valuable collection of packages that simplifies the implementation of CRUD operations for GraphQL in NestJS projects. By providing packages for various services like Mongoose, Sequelize, Typegoose, and TypeORM, developers can easily integrate these functionalities into their projects. The clear organization of packages and utility types makes it easier for developers to work with common patterns in resolvers, enhancing the overall development experience with GraphQL in NestJS. For further contributions or inquiries, developers are encouraged to collaborate through opening issues or contributing to the project.