TriPSs / nestjs-query

Easy CRUD for GraphQL.
https://tripss.github.io/nestjs-query/
MIT License
164 stars 46 forks source link
crud mongoose nestjs nestjs-graphql sequelize typegoose typeorm

Nestjs-query Logo

Test codecov Known Vulnerabilities slack

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

Development

If you'd like to contribute to this project, all you need to do is clone this project and run:

$ yarn

# To build all packages
$ yarn nx run-many --target=build --all

# To run all tests
$ yarn nx run-many --target=test --all

# To run the E2E tests
$ yarn docker up -d
$ yarn nx e2e examples

# To build one package
$ yarn nx build query-graphql

Collaboration

If you have questions or issues, please open an issue!