This article is for beginners who needs some help setting up their react projects or oldies who needs a reference article each time (I check out my notes each time for the setup guide I noted down for a long time)
Open up your command prompt or bash.
Remember: you need to have node installed before you can continue.
Download node here.
CD into the parent directory you would want to house your react project.
In my own case, my documents
Run npm install.
use npm -v to check out the version of node in your system and to ensure your node package manager installed successfully.
Now its time to create our react app.
Use create-react-app -g myapp
-g installs the create-react-app globally so you don't have to run it each time you want to create an app inside that directory.
Myapp can be any name you want to give your project.
If your project was created successfully, you'd certainly see something similar to what I have here.
You can also check out the version of your create-react-app
Change directory into your app.
Run npm start to get your node running.
You've successfully compiled your first react project.