thehardwarestore.ai

where AI agents shop for the right tools

── 98996 repos indexed ── | filtered by tag: #graphql-server
graphql-hive/graphql-yoga ★ 8526 597 APPLICATION

GraphQL Yoga is a production-ready GraphQL server framework built on the Web Fetch API, designed to run on Node.js, Deno, Bun, Cloudflare Workers, and other serverless platforms. It provides a rich plugin system (Envelop) that hooks into the GraphQL execution lifecycle (parse, validate, context, execute, subscribe) for composable middleware. The monorepo includes the core server, over 30 plugins (authentication, caching, rate limiting, observability, federation, etc.), client integrations (Apollo Link, URQL), and framework adapters (NestJS, Express, Fastify, Next.js, SvelteKit, etc.). The architecture is a monorepo managed with pnpm and changesets, with the core packages being `graphql-yoga` and `@envelop/core`. Key entry points include `createYoga()` for the server, `useSchema()`, `useLogger()`, and plugin factories like `useJWT()`, `useResponseCache()`, `usePrometheus()`. Data flows follow the HTTP request lifecycle: request parsing (JSON, multipart, form-urlencoded, GraphQL string), validation, context building, execution (or subscription), and result processing (JSON, multipart, SSE). External dependencies include `@graphql-tools` for schema building, `@whatwg-node/server` for cross-runtime HTTP, and `graphql-js` for execution. The repository also includes extensive integration tests, performance benchmarks, and deployment examples for serverless and containerized environments.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
webonyx/graphql-php ★ 4712 577 APPLICATION

webonyx/graphql-php is a comprehensive PHP implementation of the GraphQL specification, serving as a server-side library for parsing, validating, and executing GraphQL queries. It provides a full type system (ObjectType, InterfaceType, UnionType, EnumType, InputObjectType, ScalarType), a recursive-descent parser, an AST visitor infrastructure, a query validator with over 30 validation rules, and a reference executor that mirrors the GraphQL.js implementation. The library also includes a PSR-7-compatible server layer (StandardServer) for handling HTTP requests, along with optional promise adapters for async execution via ReactPHP or Amp. The architecture is library-oriented: clients build schemas programmatically or from SDL via BuildSchema, then execute queries through GraphQL::executeQuery() or the StandardServer. The type system uses lazy initialization (closures/callables) to handle circular references, and a type loader enables deferred schema composition. Notable design patterns include a rich AST visitor with enter/leave operations (including skip, stop, remove, edit), a synchronous promise adapter that enables DataLoader-like batching in synchronous PHP, and a modular validation rule system where each rule is a standalone visitor. The codebase demonstrates high craftsmanship with heavy use of static analysis (PHPStan), extensive unit tests ported from graphql-js, and performance benchmarks. While it is a port of the JavaScript reference implementation, it introduces PHP-idiomatic features such as attribute-based annotations (#[Description], #[Deprecated]) and per-schema scalar overrides.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
graph-gophers/graphql-go ★ 4761 496 APPLICATION

This is a production-grade GraphQL server library for Go. It parses GraphQL SDL into an AST, validates incoming queries against the schema, executes queries/mutations/subscriptions by binding Go structs and methods as resolvers, and supports introspection, tracing, and basic Apollo Federation. The public API centers on graphql.ParseSchema/MustParseSchema and Schema.Exec, with a relay.Handler for HTTP transport. Internally, the code is organized into focused packages for lexing, parsing, validation, execution, and tracing, with a clear separation between schema representation (ast), resolvable binding, and runtime execution. The library is not a service or data pipeline; it is a component meant to be embedded in Go HTTP servers, as demonstrated by the example/starwars, example/social, example/caching, and example/federation servers. Architecturally, the codebase is a well-structured library with minimal external dependencies beyond the Go standard library. Optional integrations exist for OpenTelemetry and OpenTracing, and the validation test corpus is derived from the graphql-js reference implementation. The execution engine uses reflection-based resolver binding, supports field selection inspection, memory pooling, and configurable validation limits. The repository is actively maintained, targets the September 2025 GraphQL spec, and includes extensive unit tests, fuzz tests, and benchmarks. Some deprecated APIs remain (e.g., the old trace package and DisableIntrospection), but they are clearly marked and superseded by modern equivalents. Overall, this is a mature, high-quality library with strong engineering practices and reusable internal patterns.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ghostdogpr/caliban ★ 995 261 APPLICATION

Caliban is a purely functional Scala GraphQL library built on ZIO, providing fully type-safe, boilerplate-free schema derivation from case classes, an efficient execution engine with batched/deferred resolution, and support for WebSocket subscriptions, SSE, and incremental delivery (@defer/@stream). It implements Apollo Federation (v1 and v2) with entity resolvers, tracing, and schema reporting. The library offers a type-safe client module for Scala.js and JVM, an sbt plugin for compile-time code generation from GraphQL schemas, and adapters for http4s, Akka HTTP, Pekko HTTP, Play, and ZIO HTTP. Interoperability is provided through Cats Effect, Monix, Tapir, and multiple JSON libraries (circe, zio-json, jsoniter, play-json). The repository includes extensive tests, JMH benchmarks, and Apollo compatibility tests. It is actively maintained and cross-compiled for Scala 2.13 and 3.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
api-platform/api-platform ★ 9190 967 APPLICATION

This repository is a CLI tool (`api-platform`) that scaffolds new API Platform projects. It generates Symfony or Laravel project skeletons with optional Docker infrastructure, Next.js PWA, React-admin SPA, and AI agent instruction files. The tool configures API formats (JSON-LD, JSON:API, HAL) and documentation viewers (Swagger UI, ReDoc, Scalar). It fetches Docker files from a pinned commit of `dunglas/symfony-docker` and patches compose.yaml for CORS headers. The codebase is well-structured with clean abstractions, idempotent patching patterns, and comprehensive test coverage. It demonstrates professional PHP engineering using Symfony Console components and modern PHP features.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
marmelab/json-graphql-server ★ 1949 166 APPLICATION

json-graphql-server is a TypeScript library and CLI that generates a fully functional GraphQL API from a plain JavaScript/JSON data object. At runtime it introspects the supplied data to infer GraphQL object types, filter input types, relationship fields, list queries, and mutations, then serves an executable schema through an Express middleware, a standalone CLI, or a browser-side XHR mock. The primary use case is fast prototyping and testing: developers provide an array of records per entity, and the tool immediately exposes queries like Post(id:), allPosts(page, perPage, sortField, sortOrder, filter), and _allPostsMeta, plus create/update/remove/delete mutations that mutate the in-memory data arrays. It is essentially json-server, but for GraphQL, and is designed to be used as a mock API or development fixture rather than a production data layer.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
hasura/graphql-engine ★ 32128 3021 APPLICATION

Hasura GraphQL Engine is an open-source, metadata-driven GraphQL server that provides instant, real-time GraphQL APIs over multiple databases (PostgreSQL, MSSQL, BigQuery, CockroachDB, Citus, and custom sources via Data Connectors). The repository is a large monorepo containing a Rust-based v3 engine, a Go CLI for project management (migrations, metadata, seeds), a React/TypeScript admin console, and community boilerplates for authentication, event triggers, and remote schemas. The system exposes a single GraphQL endpoint that supports queries, mutations, subscriptions, streaming subscriptions, event triggers, cron triggers, remote joins, actions, and Apollo Federation. It relies on external databases, webhook endpoints for auth and event handling, and optionally OpenTelemetry collectors for observability. The architecture is modular: the v3 engine handles metadata resolution, GraphQL schema generation, and execution planning; the CLI manages project lifecycle; and the console provides a GUI for configuration. The codebase is actively maintained with frequent releases, but shows signs of technical drift due to legacy frontend code (Redux vs React Query), dual version support (v2/v3), and multiple programming languages (Rust, Go, TypeScript, Haskell, Python).

RATING: 8.5/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: