@apollo/server

Spec-compliant, production-ready GraphQL server for Node.js

Framework
npm
v5.5.1
13,951stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
73/100Good
Development Activity56
Maintenance52
Community84
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
76/100Good
Architecture80
Code Quality82
Innovation76
Learning Curve66

@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 20 apps in this directory

TypeScript
87%
Other

AFFiNE

Productivity · Project Management · Note Taking

72,238

Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.

View details
91
Repo Health
87
Technical
67
Dependency
Built with
TypeScript87%
Updated yesterday
TypeScript
96%
Other

Amplication

Developer Tools · AI Code Assistants · Automation

16,011

Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.

View details
60
Repo Health
84
Technical
60
Dependency
Built with
TypeScript96%
Updated 2 months ago
TypeScript
49%
MPL 2.0

Artillery

Devops · Developer Tools

9,071

Cloud-scale load testing and functional testing for APIs, WebSockets, gRPC, and headless browsers, distributed across AWS Lambda or Fargate with zero infrastructure to manage.

View details
88
Repo Health
73
Technical
68
Dependency
Built with
TypeScript49%
JavaScript48%
Updated 1 weeks ago
TypeScript
95%
AGPL 3.0

HeyForm

Forms Surveys · No Code Platforms

8,965

Open-source conversational form builder with AI generation, conditional logic, and 30+ integrations — self-host with full data ownership.

View details
85
Repo Health
67
Technical
67
Dependency
Built with
TypeScript95%
Updated 1 weeks ago
TypeScript
71%
Other

highlight.io

Developer Tools · Analytics · Monitoring

9,372

Open-source full-stack monitoring that unifies session replay, error tracking, logging, and distributed tracing so you can stop context-switching between tools.

View details
69
Repo Health
78
Technical
65
Dependency
Built with
TypeScript71%
Go16%
Updated 2 weeks ago
TypeScript
71%
Other

highlight.io

Developer Tools · Analytics · Monitoring

9,372

Open-source full-stack monitoring that unifies session replay, error tracking, logging, and distributed tracing so you can stop context-switching between tools.

View details
69
Repo Health
78
Technical
65
Dependency
Built with
TypeScript71%
Go16%
Updated 2 weeks ago
TypeScript
99%
MIT

GraphQL Hive

Developer Tools · Devops · Monitoring

484

Open-source GraphQL schema registry and observability platform with breaking change detection, federation support, and CI/CD integration for teams of any size.

View details
89
Repo Health
81
Technical
69
Dependency
Built with
TypeScript99%
Updated 2 days ago
TypeScript
67%
MIT

Hoppscotch

Developer Tools

80,226

A lightweight, offline-capable API development ecosystem for testing HTTP, GraphQL, WebSocket, MQTT, and SSE endpoints across web, desktop, and CLI.

View details
92
Repo Health
83
Technical
66
Dependency
Built with
TypeScript67%
Vue25%
Updated yesterday
TypeScript
99%
MIT

KeystoneJS

CMS · Developer Tools

9,969

The superpowered headless CMS for developers built with GraphQL and React

View details
91
Repo Health
81
Technical
64
Dependency
Built with
TypeScript99%
Updated 5 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search