Description
Querying with GraphQL Course. There is one problem when using traditional REST APIs: we always get the same server response for a given endpoint. This lack of flexibility can lead to two equally annoying problems:
- Data overrun – When we receive a large response but only need a small part of it.
- Low Fetch – when we make the first call just to get a small piece of what we need. This can lead to chaining API calls and fetching even more unnecessary data to get what we need.
Wouldn’t it be great if instead we could shape the response we get to our request and get only what we need, when we need it? Fortunately, this is possible with GraphQL, a modern way of building and querying APIs. In Vue Mastery’s GraphQL course, we’ll build a Vue + GraphQL application together to gain confidence in using this powerful and modern tool. In short, GraphQL is a syntax that describes how to request data and is generally used to load data from a server. One of the main features and biggest advantages of GraphQL is that you only get the data you asked for. Unlike REST API, where the API callback form is defined on the server, GraphQL does this on the client side. This allows us to make a single request to get all the information we need and nothing else, instead of making subsequent REST API calls. To better understand the difference, let’s look at an example comparing retrieving data from GitHub using the REST and GraphQL APIs.
Now that we’re starting to understand how GraphQL provides a unique ability to query our data, how do we work with it on the frontend? We could use POST requests, but it’s easier to use one of the GraphQL clients. In this course, we’ll focus on the Apollo Client and its Vue integration: VueApollo. We’ll learn how to retrieve and modify data on the server, how to work with real-time subscriptions, and even how to replace your local on-premises management tool like Vuex with the built-in Apollo Client cache. To get the most out of this course, you’ll need a thorough understanding of Vue itself and the Vue CLI, as well as a basic understanding of the Composition API. So, if you’re ready to securely connect GraphQL to your Vue apps, see you in the next lesson.
What you will learn in the course “Querying with GraphQL”
- Retrieve data with queries
- Updating data with mutations
- Setting up local status with Apollo Client
- Changing local status with Apollo Client
- Real-time updates with subscriptions
- Manual cache updates and optimistic responses
- advanced queries
- Querying variables, loading and handling errors
- Changing local status with Apollo Client
Specifications of the Querying with GraphQL course.
- Editor: VueMastery
- Teacher: Marina Mosti
- Education level: Intermediate
- Training duration: 1 hour and 39 minutes
- Number of courses: 11
The topics of the course “Querying with GraphQL”.
Course pictures
Sample video of the course
installation Guide
After extracting, you can watch it with your favorite player.
Subtitles: None
Quality: 1080p
Download link
File(s) password: www.downloadly.ir
File size
1.07GB