12 个仓库
The practical implementation of server-side GraphQL interfaces to provide data to clients.
Distinct from GraphQL API Design: Distinct from GraphQL API Design by focusing on the technical implementation and exposure rather than the architectural design.
Explore 12 awesome GitHub repositories matching web development · GraphQL API Implementations. Refine with filters or upvote what's useful.
express-graphql 是一个 GraphQL API 服务器实现和 HTTP 中间件,用于将 GraphQL 模式(schema)连接到 HTTP 服务器。它提供了一个请求解析器,用于从各种内容类型中提取查询和变量,并提供了一个上下文提供程序,将 HTTP 请求数据和会话状态注入到解析器(resolver)函数中。 该库包含一个基于浏览器的交互式 IDE,可检测 GET 请求并提供 HTML 界面,用于测试查询和检查响应。它还支持自定义执行管道,允许覆盖默认的解析、验证、执行和错误格式化函数。 该项目涵盖了通过中间件和请求参数解析进行的 API 集成,以及基于 AST 的查询验证和基于模式的执行架构。它还提供了扩展响应元数据和应用验证规则以限制特定字段或操作的机制。
Implements server-side GraphQL interfaces to allow clients to request specific data based on a schema.
GraphQL.NET 是一个用于在 C# 应用程序中构建和执行 GraphQL API 的服务端框架。它提供了一套全面的工具包,用于模式构建、分布式数据图的联合引擎,以及用于管理实时数据流的订阅处理器。 该项目的独特之处在于其灵活的模式构建器,支持程序化的代码优先定义和使用标准模式定义语言的声明式模式优先方法。它包括一个专门的联合引擎,用于将数据图拆分为子图并将其组合成统一的网关,以及一个专门设计用于通过批处理和缓存解决 N+1 查询问题的数据加载器实现。 该框架涵盖了广泛的操作功能,包括用于服务生命周期管理的依赖注入集成、用于字段解析拦截的中间件流水线,以及针对值类型优化以减少内存分配的执行流水线。它还提供用于查询复杂度分析、文档缓存和基于角色的访问控制的工具,以保护 API 端点。 对提前(AOT)模式编译的支持允许该框架在禁止动态代码生成的环境中执行。
Provides a comprehensive toolkit for implementing server-side GraphQL interfaces using both code-first and schema-first approaches.
Juniper 是一个用于 Rust 的 GraphQL 服务器库和模式引擎。它提供了一套工具包,通过将原生 Rust 数据结构映射到 GraphQL 对象、输入和标量来构建类型安全的 API。该项目作为一个执行引擎,可以通过网络服务器处理查询和变更,也可以作为本地执行的无头引擎。 该库与运行时无关,允许它将 GraphQL 处理与各种异步 Rust Web 框架桥接。它包括一个订阅框架,用于管理持久的 WebSocket 连接,以向客户端推送实时数据更新。 该引擎涵盖了广泛的功能,包括模式语言导出、用于依赖注入的共享状态上下文管理,以及定义解析器的代码优先方法。它还支持集成十进制数和时间戳等专门数据类型,以避免手动数据转换。
Provides a full toolkit for implementing type-safe GraphQL APIs by mapping native Rust structures to a schema.
This project is a reference library and collection of example code patterns for deploying cloud infrastructure using the AWS CDK. It provides a set of sample projects that demonstrate how to define compute, storage, and networking resources using general purpose programming languages. The library includes reference implementations for various architectural patterns, including serverless backends with GraphQL and WebSocket APIs, container orchestration with load balancers and auto-scaling, and global static website hosting via content delivery networks. It also provides designs for isolated ne
Shows how to implement server-side GraphQL interfaces with resolvers for database operations.
GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add
Provides a comprehensive implementation of server-side GraphQL interfaces to serve structured data to clients.
graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema parsing, resolver mapping, and query execution. The library includes a subscription engine that enables real-time data streaming to clients using WebSocket transport. It also features an execution tracer for monitoring and profiling query performance through telemetry tools. The system manages resource consumption and stability through a query optimizer that enforces depth restrictions and controls resolver concurrency. It supports data fetching optimization via field-level p
Provides a flexible data layer implemented in Go to handle complex GraphQL queries and structured retrieval.
graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine and schema parser that converts schema definition strings into executable structures and validates resolver signatures. The library also includes a streaming implementation for real-time GraphQL subscriptions using channels within resolvers. The project distinguishes itself through parallel resolver execution to reduce request latency and the use of buffer-pool memory management to lower garbage collection overhead. It enables the creation of cloneable schema instances from a sh
Provides a full implementation of a server-side GraphQL interface to process queries and return structured data.
backend-cheats 是一个综合性的后端工程参考指南和技术速查表集合。它作为一个知识库,涵盖服务器端开发、网络和计算机科学基础知识,以基于 Markdown 的静态网站形式提供。 该项目提供了详细的 API 设计手册(专门涵盖 REST 和 GraphQL 接口)以及软件架构模式(如单体、微服务和 MVC)。它包括一个比较关系型和 NoSQL 范式的数据库架构概述,以及用于识别漏洞和管理环境变量的 Web 安全参考。 参考范围扩展到 DevOps 和基础设施管理,包括 Linux 系统管理和容器化编排工具。其他内容包括计算机硬件架构、网络基础、通过缓存和性能分析进行的性能优化,以及软件测试策略。 文档使用 Markdown 源文件构建,并转换为预渲染的 HTML 页面。
Includes technical guides on implementing GraphQL APIs using schemas and types for efficient data retrieval.
此项目是一个预配置的样板和种子项目,用于使用 React 和 Firebase 构建无服务器 Web 应用程序。它作为一个全面的模板,用于设置启动单页应用程序所需的环境、路由和基础设施。 该框架使用 GraphQL 和 Relay 集成了一个数据层,以协调请求并维护可扩展的状态管理。它包括一个基于 Material Design 原则的标准化用户界面工具包,并实现了异步代码分割以减少初始包负载。 该系统涵盖了通过 Google 和 OAuth 集成的身份管理,以及用于将静态资产和函数部署到云托管的自动化命令行脚本。它还提供了一个用于执行和验证 GraphQL 查询并进行实时语法检查的可视化界面。
Implements a server-side GraphQL interface to provide structured data to the frontend.
Graphene-Django 是一个 GraphQL 集成框架和模式映射器,用于为 Django 应用程序构建类型化 API。它作为一个数据库 API 层,将 Django 模型字段和关系转换为图模式,允许客户端在单次调用中请求特定数据。 该项目实现了 Relay 规范,提供用于全局对象标识和标准化基于连接的分页的工具,以管理大型数据集。它通过将数据库模型、表单和序列化器直接映射到 GraphQL 对象类型和变更(Mutations)中而脱颖而出。 该框架涵盖了广泛的能力,包括字段级访问控制、基于中间件的请求拦截以及通过 WebSocket 路由处理实时操作。它还包括用于 SQL 性能检查和变更事务包装的实用程序,以确保更新期间的数据完整性。 提供了一个专门的测试客户端来验证 API 响应并针对端点执行查询。
Implements a full server-side GraphQL interface to expose Django data models and logic via a typed schema.
该项目是一个全栈 Monorepo 样板和 Node.js GraphQL API 模板。它提供了一个种子项目,在一个仓库中集成了模式优先的 GraphQL API、PostgreSQL 数据库和 React 前端,以便在后端和用户界面之间共享类型。 该架构包含一个用于云部署和自动扩缩容的无服务器包装器。它实现了一个请求批处理层,通过防止 N+1 查询问题来优化数据库性能。 该项目通过基于迁移的模式版本控制和种子文件来管理数据库。它还包括用户身份集成功能,涵盖身份验证、授权和基于权限的访问控制。
Implements a type-safe, schema-first GraphQL API layer to handle data requests between the client and server.
light-4j is a Java microservices framework designed for building scalable distributed systems. It provides a toolkit for developing cloud-native services with integrated support for service discovery, telemetry, and secure inter-service communication. The project includes a runtime OpenAPI request validator to ensure communication consistency by checking data against formal specifications. It also features an OAuth2 API security gateway for verifying identity tokens and managing credentials, alongside an event-sourcing messaging system for building command query responsibility segregation arc
Implements data-driven GraphQL APIs using generated schemas and a plugin architecture to fetch microservice information.