@apollo/server
Spec-compliant, production-ready GraphQL server for Node.js
Repository Health
Technical Analysis
@apollo/server is Apollo’s modern GraphQL server engine — the actively maintained successor to the original apollo-server package in this same monorepo — built for schema-first development where you define your GraphQL schema and resolvers and Apollo handles parsing, validation, execution, and the surrounding HTTP layer.
It can run standalone (via startStandaloneServer) or be mounted as middleware inside Express and other Node HTTP frameworks, ships a plugin lifecycle for caching, tracing, and usage reporting, and integrates with Apollo Federation for composing multiple GraphQL services into a single supergraph.
What You Get
- A schema-first GraphQL execution engine with built-in parsing, validation, and resolver execution
- A standalone HTTP server (
startStandaloneServer) or Express middleware integration for existing Node apps - A plugin API for hooking into the request lifecycle (response caching, usage reporting, tracing)
- Apollo Federation support for composing multiple subgraph services into one supergraph
- TypeScript-first APIs with generated types for schema and resolver context
Common Use Cases
- Standing up a production GraphQL API on top of an existing REST/data layer with schema-first resolvers
- Running a federated subgraph as part of a larger Apollo Federation supergraph
- Adding GraphQL to an existing Express application via middleware rather than a standalone server
- Instrumenting a GraphQL API with usage reporting and response caching via the plugin system
Under The Hood
Architecture - the repo is an npm/lerna-style monorepo under packages/, with @apollo/server as the core engine, usage-reporting-protobuf and gateway-interface supporting federation/telemetry, plugin-response-cache implementing the caching plugin, and integration-testsuite providing shared HTTP-integration test harnesses reused across the framework adapters; the core server exposes both a CJS and ESM build via dual exports map entries (dist/cjs and dist/esm). Tech Stack - TypeScript throughout, built with the project’s own tsconfig layering (tsconfig.build.cjs.json/tsconfig.build.esm.json) to emit dual module formats, Jest for testing (jest.config.base.js), Renovate for dependency automation, and codegen (codegen.yml) for generating GraphQL-related types. Code Quality - the monorepo carries a dedicated integration-testsuite package purely for cross-package HTTP integration tests, codecov integration for coverage tracking, ESLint (flat config) plus cspell spell-checking wired into CI, reflecting a mature, well-instrumented test and lint setup for a widely-depended-on server framework. API Design - @apollo/server deliberately narrowed its API relative to the older apollo-server package (dropping built-in framework-specific integrations in favor of a generic HTTP interface plus small adapter packages), trading a bit of setup boilerplate for a smaller, more explicit core surface and clearer separation between the GraphQL engine and the HTTP transport it’s mounted on.
Used by 10 apps in this directory
AFFiNE
Productivity · Project Management · Note Taking
Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.
HeyForm
Forms Surveys · No Code Platforms
Open-source conversational form builder with AI generation, conditional logic, and 30+ integrations — self-host with full data ownership.
highlight.io
Developer Tools · Analytics · Monitoring
Open-source full-stack monitoring that unifies session replay, error tracking, logging, and distributed tracing so you can stop context-switching between tools.
GraphQL Hive
Developer Tools · Devops · Monitoring
Open-source GraphQL schema registry and observability platform with breaking change detection, federation support, and CI/CD integration for teams of any size.
Hoppscotch
Developer Tools
A lightweight, offline-capable API development ecosystem for testing HTTP, GraphQL, WebSocket, MQTT, and SSE endpoints across web, desktop, and CLI.
KeystoneJS
CMS · Developer Tools
The superpowered headless CMS for developers built with GraphQL and React
Memgraph
Databases · AI Development
High-performance in-memory graph database for AI context and real-time analytics
Parse Server
Developer Tools · Databases
Self-hosted Backend-as-a-Service for Node.js with REST, GraphQL, real-time Live Query, cloud code, and pluggable adapters for any infrastructure.
Pezzo
AI Development · Monitoring
Open-source LLMOps platform for prompt management, AI observability, intelligent caching, and real-time cost tracking across LLM providers.