Adding GraphQL and dependencies to a project
We've already taken a look at GraphQL in Chapter 9, What is GraphQL?. In this chapter, let's review these packages as well as introduce some new related packages that we will be using.
Let's list some of the GraphQL-related packages we will be using for our app:
This is a package that allows us to inject our code either before or after a resolver runs. Some possible actions include, but are not limited to, authentication checks and logging.
This package provides some helpers for testing and mocking our GraphQL queries when needed.
This is the main library we will use to create our Express GraphQL server, which we already used in Chapter 9, What is GraphQL?.