A complete example of deploying an Apollo Supergraph (Router + Subgraphs) for both local development and Kubernetes deployment.
This project demonstrates how to set up and deploy an Apollo Supergraph with:
- Apollo Router - GraphQL gateway that routes requests to subgraphs
- Subgraphs - Three GraphQL services (Products, Reviews, Users) in a monolithic Node.js application
- Multiple deployment options - Local development and Kubernetes deployment
📖 SETUP.md contains the complete guide to get this running.
The setup guide includes:
- ✅ Prerequisites and installation
- ✅ Local development setup
- ✅ Kubernetes deployment
- ✅ Testing and validation
- ✅ Troubleshooting
This project supports two deployment modes:
- Subgraphs run as Node.js processes
- Router runs in Docker
- Direct localhost access
- Fast development cycle
- Subgraphs run in Kubernetes pods
- Router runs in Kubernetes pods
- Production-like environment
- Scalable and resilient
📋 ARCHITECTURE.md explains the technical details and differences.