graphql
Installation
SKILL.md
GraphQL
Overview
Design, build, and consume GraphQL APIs. This skill covers schema-first and code-first approaches, resolver patterns, real-time subscriptions, authentication, performance optimization with DataLoader, pagination, federation for microservices, and client-side consumption with Apollo Client.
Instructions
Step 1: Project Setup
Server (Apollo Server):
npm install @apollo/server graphql
npm install @apollo/server express cors # With Express
npm install dataloader # For N+1 prevention