Instructor-led training
Introduction to GraphQL Training in Goteborg, Sweden
This comprehensive course on GraphQL is designed to provide participants with a deep understanding of the GraphQL query language, its core concepts, and practical implementation techniques.
What you'll learn
This comprehensive course on GraphQL is designed to provide participants with a deep understanding of the GraphQL query language, its core concepts, and practical implementation techniques. Through a combination of theoretical explanations, hands-on labs, and real-world examples, participants will gain the knowledge and skills needed to effectively design, build, and consume GraphQL APIs.
Prerequisites
Course Outline
-
Introduction to GraphQL
- What is GraphQL?
- GraphQL as a query language for APIs
- GraphQL as a runtime for fulfilling queries
-
How Does GraphQL Work?
- Query structure and syntax
- Data shape matching
- Example query and response
-
Implementing GraphQL with Various Programming Languages
- JavaScript and Node.js
- Go
- PHP
- Java
- Other supported languages
-
Tools and Libraries for GraphQL
- Apollo Server
- Apollo Client
- AWS Amplify
- Relay
-
Lab 1: Getting Started with Apollo Server
- Setting up Apollo Server
- Creating a basic GraphQL schema
- Writing resolvers for data fetching
-
Exploring GraphQL Schemas
- Understanding object types, query types, and mutation types
- Anatomy of a type
- Basic data types and list types
-
Query and Mutation Types
- Defining entry points to the schema
- Passing arguments to queries and mutations
-
Lab 2: Using Apollo Studio
- Exploring Apollo Client
- Integrating Apollo Dev Tools for debugging and monitoring
- Utilizing Apollo Studio Explorer for schema design and testing
-
Lab 3: Creating a Client
- Setting up a client-side application
- Connecting to data sources
- Querying and displaying data using Apollo Client
-
Connecting to Data Sources
- Creating data sources for resolvers
- Fetching data from databases, APIs, and other sources
-
Lab 4: Connecting to a Data Source
- Implementing data sources for resolvers
- Fetching data from a database or external API
-
Creating Resolvers
- Understanding resolver functions and their role
- Implementing resolver functions for various fields
-
Lab 5: Creating Resolvers
- Writing resolver functions for different fields in the schema
- Handling complex data fetching requirements
-
Setting up the Server for Mutations
- Understanding mutations and their purpose
- Configuring the server to handle mutation operations
-
Lab 6: Setting up the Server for Mutations
- Implementing mutation resolvers
- Testing mutation operations from the server
-
Making Mutations from a Client
- Sending mutation requests from the client-side
- Handling response data and error handling
-
Best Practices for GraphQL
- Keeping the schema simple and focused
- Versioning and evolution strategies
- Caching and performance optimization techniques
- Security considerations and best practices
-
Summary and Conclusion
- Recap of key concepts and learnings
- Further learning resources
- Questions and discussion
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- Training for groups of 3 or more
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.