Duration
21 hours (usually 3 days including breaks)
Requirements
- An understanding of Node
- JavaScript programming experience
Audience
- Web Developers
Overview
GraphQL is a data query language for APIs. GraphQL is also an execution engine for loading data from server to client. It is the much-needed alternative to the traditional REST API.
This instructor-led, live training (online or onsite) is aimed at web developers who wish to develop an advanced node application using GraphQL.
By the end of this training, participants will be able to:
- Create mutations to enable clients to manipulate data in databases.
- Script an automated test suite for a node application.
- Use GraphQL schemas to define data interaction.
- Secure node application data with an authentication system.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Course Outline
Introduction
What is GrahpQL?
- The evolution of GraphQL
- GraphiQl and GitHub API
Overview of GraphQL Basics
- Queries
- Schemas
- Mutations
- Subscriptions
The Fundamentals of APIs and Their Functionality
- Scalar types
- Web Architecture Patterns: the composite pattern, proxy pattern, and facade pattern
Preparing the Development Environment
- Installing and configuring GraphQL
- Installing and configuring Node.Js
- Installing and configuring Apollo
- Installing and configuring Prisma
Schemas and Queries
- Setting up a GraphQL API
- Creating a custom object type
- Using a GraphQL schema
- Passing data through operation arguments
- Working with array and array elements
- Exploring relational data
Mutations and Subscriptions
- Creating, deleting, and updating data with mutations
- Using the object spread operator
- Refactoring node architecture
- Creating a subscription
- Expanding the subscription for edits and deletions
Authentication in GraphQL with Prisma
- Setting up a custom type resolver
- Passing queries through Prisma
- Passing arguments through Prisma
- Passing mutations through Prisma
- Passing subscriptions through Prisma
- Adding password support
- Verifying tokens
Apollo Client and Testing
- Setting up a test environment
- Seeding with test data
- Testing queries and mutations
- Testing authentication
Summary and Conclusion
Duration
21 hours (usually 3 days including breaks)
Requirements
- An understanding of Node
- JavaScript programming experience
Audience
- Web Developers
Overview
GraphQL is a data query language for APIs. GraphQL is also an execution engine for loading data from server to client. It is the much-needed alternative to the traditional REST API.
This instructor-led, live training (online or onsite) is aimed at web developers who wish to develop an advanced node application using GraphQL.
By the end of this training, participants will be able to:
- Create mutations to enable clients to manipulate data in databases.
- Script an automated test suite for a node application.
- Use GraphQL schemas to define data interaction.
- Secure node application data with an authentication system.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Course Outline
Introduction
What is GrahpQL?
- The evolution of GraphQL
- GraphiQl and GitHub API
Overview of GraphQL Basics
- Queries
- Schemas
- Mutations
- Subscriptions
The Fundamentals of APIs and Their Functionality
- Scalar types
- Web Architecture Patterns: the composite pattern, proxy pattern, and facade pattern
Preparing the Development Environment
- Installing and configuring GraphQL
- Installing and configuring Node.Js
- Installing and configuring Apollo
- Installing and configuring Prisma
Schemas and Queries
- Setting up a GraphQL API
- Creating a custom object type
- Using a GraphQL schema
- Passing data through operation arguments
- Working with array and array elements
- Exploring relational data
Mutations and Subscriptions
- Creating, deleting, and updating data with mutations
- Using the object spread operator
- Refactoring node architecture
- Creating a subscription
- Expanding the subscription for edits and deletions
Authentication in GraphQL with Prisma
- Setting up a custom type resolver
- Passing queries through Prisma
- Passing arguments through Prisma
- Passing mutations through Prisma
- Passing subscriptions through Prisma
- Adding password support
- Verifying tokens
Apollo Client and Testing
- Setting up a test environment
- Seeding with test data
- Testing queries and mutations
- Testing authentication
Summary and Conclusion