Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doug-martin/nestjs-query
Easy CRUD for GraphQL.
https://github.com/doug-martin/nestjs-query
crud graphql graphql-resolver mongodb mongoose nestjs nestjs-graphql sequelize typegraphql typeorm
Last synced: 24 days ago
JSON representation
Easy CRUD for GraphQL.
- Host: GitHub
- URL: https://github.com/doug-martin/nestjs-query
- Owner: doug-martin
- License: mit
- Created: 2019-11-06T03:18:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T15:11:13.000Z (5 months ago)
- Last Synced: 2024-10-10T10:12:47.155Z (29 days ago)
- Topics: crud, graphql, graphql-resolver, mongodb, mongoose, nestjs, nestjs-graphql, sequelize, typegraphql, typeorm
- Language: TypeScript
- Homepage: https://doug-martin.github.io/nestjs-query
- Size: 34.4 MB
- Stars: 821
- Watchers: 16
- Forks: 142
- Open Issues: 126
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Test](https://github.com/doug-martin/nestjs-query/workflows/Test/badge.svg?branch=master)](https://github.com/doug-martin/nestjs-query/actions?query=workflow%3ATest+and+branch%3Amaster+)
[![Coverage Status](https://coveralls.io/repos/github/doug-martin/nestjs-query/badge.svg?branch=master)](https://coveralls.io/github/doug-martin/nestjs-query?branch=master)
[![Known Vulnerabilities](https://snyk.io/test/github/doug-martin/nestjs-query/badge.svg?targetFile=package.json)](https://snyk.io/test/github/doug-martin/nestjs-query?targetFile=package.json)# 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](https://doug-martin.github.io/nestjs-query/docs/introduction/install).
## Docs
* [Getting Started](https://doug-martin.github.io/nestjs-query/docs/introduction/getting-started)
* [Install Guide](https://doug-martin.github.io/nestjs-query/docs/introduction/install).
* [Concepts](https://doug-martin.github.io/nestjs-query/docs/introduction/concepts)
* [Example](https://doug-martin.github.io/nestjs-query/docs/introduction/example)
* [Typeorm](https://doug-martin.github.io/nestjs-query/docs/persistence/typeorm/getting-started)
* [Sequelize](https://doug-martin.github.io/nestjs-query/docs/persistence/sequelize/getting-started)
* [GraphQL](https://doug-martin.github.io/nestjs-query/docs/graphql/resolvers)## Packages
Nestjs-query is composed of multiple packages
* [`@nestjs-query/core`](https://github.com/doug-martin/nestjs-query/tree/master/packages/core) - Defines all interfaces and utility types implemented by the other packages.
* [`@nestjs-query/query-graphql`](https://github.com/doug-martin/nestjs-query/tree/master/packages/query-graphql) - Package that provides the graphql resolver and decorators for crud endpoints.
* [`@nestjs-query/query-typeorm`](https://github.com/doug-martin/nestjs-query/tree/master/packages/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`](https://github.com/doug-martin/nestjs-query/tree/master/packages/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`.