Ensure that you have Node.js installed on your machine. Open the folder "Telephone directory" in your IDE. Then, create a new directory for your project and initialize it through SSH:
cd my-graphql-project npm init -y
npm install apollo-server graphql
npx create-react-app client
Replace any existing files if necessary: Now drag and drop the files from the folder "./my-graphql-project/for my-graphql-project " into the folder "./my-graphql-project/" and also
all the files from the folder "./my-graphql-project/for client " into the folder "./my-graphql-project/client"
cd my-graphql-project npm install @material-ui/core @apollo/client graphql npm install @apollo/client @material-ui/core
cd client npm install @mui/material @emotion/react @emotion/styled npm install --legacy-peer-deps
cd my-graphql-project node index.js
query { contacts { name phone } }
cd client npm start