Exercise: GraphQL Mutations
Practice using GraphQL mutations with Apollo Client.
Now, let’s practice some of our newly acquired skills and try to implement support for voting for products in our application. Since we already have some experience with implementing GraphQL resolvers, the new mutation is already implemented for us. Let’s work on implementing the frontend of the application in this exercise.
Exercise source code
To get the source code for this exercise, run the following command in the project’s repository:
git checkout upvote-mutation-exercise
Starting the project
Before we start, here’s a brief reminder on how to start all the components for the application. These are the same instructions we saw in one of the previous exercises.
Get hands-on with 1200+ tech skills courses.