Create a Project

After install npx, use the following code. my-app would be the name of your project. This process is going to take sometime (in term of minutes, mine was 10+ minutes for the first time). Once the project is created, we can start it by npm start from the project directory.

npx create-react-app my-app
cd my-app
npm start

To visit the development server that has just been started, type http://localhost:3000 in your web browser.