Starting with Apollo Boost
Explore how to initialize Apollo Client using Apollo Boost to work seamlessly with GitHub's GraphQL API. Understand how to configure personal access tokens for authorization and solve the fetch API availability issue in Node.js environments. This lesson prepares you to perform GraphQL queries and mutations efficiently.
We'll cover the following...
The application in this chapter will start from introducing Apollo Client with Apollo Boost. The latter allows you to create a zero-configuration Apollo Client to get you started with the fastest and most convenient way.
This chapter focuses on the Apollo Client instead of React for the sake of learning.
In the upcoming lessons, you will consume GitHub’s GraphQL API, and then output the queries and mutation results in the command line. To do this, you will need a personal access token on GitHub’s website, which we covered in one of the previous chapters.
Apollo-Boost Package
The apollo-boost package gives access to a zero-configuration Apollo Client, and the g ...