Creating our backend project
First, you need to create a backend directory in your GraphQL project (graphql/backend
). After that, let’s review the huge list of NPM packages you will need to install (focusing on the most relevant):
npm init --yes
npm install @apollo/[email protected] @contentpi/[email protected] @graphql-tools/[email protected] @graphql-tools/[email protected] @graphql-tools/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
npm install --save-dev [email protected] [email protected] [email protected] [email protected] @types/[email protected] @types/[email protected]
Please note that some readers of my last book encountered issues with certain code that did not work as intended. This is due to updates to package versions since the time of writing.
To ensure that the code in this book functions correctly, I have specified the...