4 个仓库
Exposing GraphQL schemas via HTTP endpoints to handle queries and mutations.
Distinct from HTTP Endpoint Benchmarking: None of the candidates describe general GraphQL endpoint exposure; they focus on benchmarking, scanning, or specific frameworks.
Explore 4 awesome GitHub repositories matching web development · GraphQL HTTP Endpoints. Refine with filters or upvote what's useful.
express-graphql 是一个 GraphQL API 服务器实现和 HTTP 中间件,用于将 GraphQL 模式(schema)连接到 HTTP 服务器。它提供了一个请求解析器,用于从各种内容类型中提取查询和变量,并提供了一个上下文提供程序,将 HTTP 请求数据和会话状态注入到解析器(resolver)函数中。 该库包含一个基于浏览器的交互式 IDE,可检测 GET 请求并提供 HTML 界面,用于测试查询和检查响应。它还支持自定义执行管道,允许覆盖默认的解析、验证、执行和错误格式化函数。 该项目涵盖了通过中间件和请求参数解析进行的 API 集成,以及基于 AST 的查询验证和基于模式的执行架构。它还提供了扩展响应元数据和应用验证规则以限制特定字段或操作的机制。
Provides the primary mechanism to connect a GraphQL schema to an HTTP server for network-based data queries.
Strawberry 是一个用于 Python 的类型安全 GraphQL 库,支持使用 Python 类型注解和数据类(dataclasses)来设计 Schema。它作为一个异步 GraphQL 服务器和执行引擎,提供了将 Schema 暴露给 ASGI 兼容 Web 框架(如 FastAPI、Django、Flask 和 Litestar)的桥梁。 该项目实现了 GraphQL Federation,允许创建分布式 Schema 和实体,并将它们合并为跨多个服务的统一超图(supergraph)。它还包含一个专用的 Relay 规范工具包,支持全局对象标识和基于连接的分页。 该框架涵盖了广泛的能力,包括通过 WebSocket 和服务器发送事件(SSE)进行实时数据流传输、Pydantic 模型映射以及自动代码生成。它为安全性和可观测性提供了集成工具,例如查询复杂度限制、基于角色的访问控制(RBAC)和执行指标追踪。 开发者可以使用内置的开发服务器和交互式 Schema 检查界面进行原型设计。
Exposes GraphQL schemas via HTTP endpoints to handle queries and mutations within web applications.
Graphene-Django 是一个 GraphQL 集成框架和模式映射器,用于为 Django 应用程序构建类型化 API。它作为一个数据库 API 层,将 Django 模型字段和关系转换为图模式,允许客户端在单次调用中请求特定数据。 该项目实现了 Relay 规范,提供用于全局对象标识和标准化基于连接的分页的工具,以管理大型数据集。它通过将数据库模型、表单和序列化器直接映射到 GraphQL 对象类型和变更(Mutations)中而脱颖而出。 该框架涵盖了广泛的能力,包括字段级访问控制、基于中间件的请求拦截以及通过 WebSocket 路由处理实时操作。它还包括用于 SQL 性能检查和变更事务包装的实用程序,以确保更新期间的数据完整性。 提供了一个专门的测试客户端来验证 API 响应并针对端点执行查询。
Exposes the GraphQL schema via a single HTTP endpoint and provides an interactive browser interface for testing.
async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su
Exposes GraphQL schemas via HTTP endpoints to handle queries and mutations through integration with web servers.