This post is going to be a complete tutorial for building a react js app. I’m not an advanced react developer that’s why I will need this as a reminder.
I’m going to build a react app as a part of my exercise in The Complete Web Developer course which I take on Udemy.
Because React apps are so common there is a tool that allows us to create a react app right away with all our files already put into the place. It’s called
create-react-app
This tool creates all this infrastructure for you so can right away you can start writing the app. It’s a very good tool that a lot of people use so I need to install create app.
I need to write in Terminal:
sudo npm install -g create-react-app
create-react-app starwars
I add this folder to my text editor. I use Visual Studio Code.
Next step I need to start scripts use command
npm start