React
Boost Your React Apps with Apollo: First Steps

Create a Client and Install Apollo

We're ready to create our client app using create-react-app.

To do this, run:

npx create-react-app habit-tracker

(If you don't have npx due to an older version of npm, go ahead and run npm install -g create-react-app first.)

Open the client in your editor and open a new terminal. To install Apollo and GraphQL, run:

cd habit-tracker
npm install @apollo/client graphql

To make sure everything is running, just run npm start in that same habit-tracker folder. The browser should open to localhost:3000.

In the next video, we'll look at a couple extras we can set up with Visual Studio Code to make our development experience better.

 

I finished! On to the next chapter