installing apollo client code example
Example 1: install apollo
npm install @apollo/client graphql
# yarn
yarn add @apollo/client graphql
Example 2: install apollo server
npm install apollo-server graphql
# yarn
yarn add apollo-server graphql