Lets set up a basic React app

First thing 🤪

Note ✍🏻

I am not going to teach the basics of React here or at anywhere in this course I don't have the time to make something like that sorry 😿 Check out the resources I shared in the getting started for learning React👀 This is just a guide to help you get the basic app shells needed to start writing code.

Lets get it 🗣

Lets go ahead and find a new place to put our projects. I have mine in a projects directory (folder). When you have decided where the project is going to go. Open up the terminal and navigate to that directory. Once inside run the command npx create-react-app <PICK_NAME>. Sub out the <PICK_NAME> with whatever your app name will be. I will use liftoff so I will run npx create-react-app liftoff

Once that has finished you should now be able to a ls in your terminal and see the new folder, cd into it.

Run the command npm run start If this was a repo we had cloned we would need to do a npm install first to get all the packages to be able to run it. Npm is a part of node that allows us to grab dependencies.

Its really nice and allows you to share code easily.

You should see a React logo if you go to http://localhost:3000