GraphQL for Enterprise Developers
1h 13mAdvanced2024-07-25
Authors

Eve Porcello
Software Developer and Instructor
Course details
This comprehensive course is designed for developers to learn about Apollo GraphQL and its ecosystem. Discover how to use Apollo Federation to build a scalable and modular GraphQL API, and explore tools provided by Apollo, such as the Rover CLI and GraphOS Studio, to manage your schema efficiently. Dive into setting up and managing federated schemas with managed federation, handling subgraph challenges, and publishing schemas without breaking changes. Gain insights into federation directives, learning how to share types across subgraphs, create entity types, and write entity resolvers. Enhance your skills in advanced Apollo features like creating mutations, modeling errors within your schemas, and applying directives like @defer and @stream to improve front-end performance. By the end of this course, you will be equipped to build, integrate, and maintain robust GraphQL APIs using various Apollo tools and practices.
Skills covered
GraphQLProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
Introduction
- Building with GraphQL at scale
- What you should know
- Setting up your environment
Apollo Federation
- Understanding federated architecture
- Importing dependencies
- Creating a federated subgraph
- Challenge - Building a subgraph
- Solution - Building a subgraph
Apollo Tooling
- Understanding the Apollo ecosystem
- Installing the Rover CLI
- Setting up GraphOS Studio
- Creating a graph
Managed Federation
- Using Rover commands
- Handling subgraph changes
- Publishing a schema
- Generating a template
Federation Directives
- Importing schemas
- Sharing types across subgraphs
- Creating an entity type
- Writing entity resolvers
- Challenge - Creating a Cat entity
- Solution - Creating a Cat entity
Advanced Apollo Features
- Creating a mutation
- Modeling errors in the schema
- Setting up mocks with GraphOS
- Introducing the defer and stream directives
Conclusion
- Next steps