百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nestjs-query

> 后端框架
开源

简单 CROUD for GraphQL.

197 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

简单 CROUD for GraphQL.

nestjs-query

Nestjs-Query is a collection of packages for building queryable CRUD APIs with NestJS. It provides reusable query, filtering, sorting, paging, authorization, and persistence-service primitives for GraphQL and REST applications.

Why?

While working on projects in NestJS it was easy to get up and running with GraphQL, but many resolver patterns were repeated across applications—especially querying, sorting, and paging. Nestjs-Query packages those patterns so they can be configured and reused.

Installation

Install Guide.

Docs

  • Getting Started
  • Install Guide
  • Concepts
  • Example
  • TypeORM
  • Sequelize
  • GraphQL

Packages

Nestjs-query is composed of multiple packages

  • @ptc-org/nestjs-query-core - Framework-independent query, service, DTO, and utility primitives.
  • @ptc-org/nestjs-query-graphql - GraphQL resolvers, decorators, and CRUD endpoints.
  • @ptc-org/nestjs-query-rest - REST controllers, decorators, and CRUD endpoints.
  • @ptc-org/nestjs-query-mikro-orm - MikroORM persistence service.
  • @ptc-org/nestjs-query-mongoose - Mongoose persistence service.
  • @ptc-org/nestjs-query-sequelize - Sequelize persistence service.
  • @ptc-org/nestjs-query-typegoose - Typegoose persistence service.
  • @ptc-org/nestjs-query-typeorm - TypeORM persistence service.

Development

For local development, clone the repository and install dependencies with Yarn 4:

bash
$ 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 standard E2E tests (requires Docker)
$ yarn docker up -d
$ yarn nx e2e examples

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

See CONTRIBUTING.md for the complete development and pull-request guide. Please also review our Code of Conduct.

Collaboration

If you have questions or issues, please open an issue. For community discussion, join the NestJS Query Slack.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcrudmongoosenestjsnestjs-graphql

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架