Nestjs Query

screenshot of Nestjs Query
nestjs
react

Easy CRUD for GraphQL.

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

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.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.