doug-martin / nestjs-query

Easy CRUD for GraphQL.

Home Page:https://doug-martin.github.io/nestjs-query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nestjs-query Logo

Test Coverage Status Known Vulnerabilities

nestjs-query

Nestjs-Query is collection of packages to make crud for graphql easier.

Why?

While working on projects in nestjs it was very easy to get up and running with graphql however, there were many patterns that were common between the resolvers. In particular querying, sorting and paging.

Installation

Install Guide.

Docs

Packages

Nestjs-query is composed of multiple packages

  • @nestjs-query/core - Defines all interfaces and utility types implemented by the other packages.
  • @nestjs-query/query-graphql - Package that provides the graphql resolver and decorators for crud endpoints.
  • @nestjs-query/query-typeorm - Package that implements a Typeorm service that can be used by itself or with the graphql resolver provided by @nestjs-query/query-graphql.
  • @nestjs-query/query-sequelize - Package that implements a Sequelize service that can be used by itself or with the graphql resolver provided by @nestjs-query/query-graphql.

About

Easy CRUD for GraphQL.

https://doug-martin.github.io/nestjs-query

License:MIT License


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%Language:Shell 0.0%