How to create a react app with Create React App

Creating a React app is a lot of work. But luckily there is a free tool called Create React App. In this blog I will show you how.


Installing Dependencies

First you need to install Create React App

You can do that by running the command below in the directory you want to put your project folder in:

npx create-react-app {YOUR_APP_NAME}

Replace {YOUR_APP_NAME} with the name of your app

Then go in to the dir by entering:

cd {YOUR_APP_NAME}

Then run the command:

npm start

That's it! You can check your app by going to localhost:3000