apollo-server
Installation
Summary
Complete guide for building GraphQL servers with Apollo Server 5.x across frameworks.
- Covers schema definition, resolvers, context setup, and error handling with TypeScript support
- Supports standalone mode for prototyping and integrations with Express, Fastify, Koa, and serverless environments
- Includes resolver patterns, authentication/authorization, plugins, DataLoader for N+1 prevention, and performance optimization techniques
- Provides reference documentation for data sources, error handling, troubleshooting, and lifecycle hooks
SKILL.md
Apollo Server 5.x Guide
Apollo Server is an open-source GraphQL server that works with any GraphQL schema. Apollo Server 5 is framework-agnostic and runs standalone or integrates with Express, Fastify, and serverless environments.
Quick Start
Step 1: Install
npm install @apollo/server graphql
For Express integration:
npm install @apollo/server @as-integrations/express5 express graphql cors
Step 2: Define Schema
Related skills