Twitter LogoFacebook Logo
Getting Started
Learn how to create an React App
By: King

Getting Started

Hello, in this tutorial, I'll show you how to create a React Application.

Step 1: Download NodeJS and install it

 

Step 2: Create a folder and open a terminal pointing to that folder. Then run this command:

npx create-react-app my-app

Note that my-app can be replaced with the name for your project.


You can visit the official Create React App documentation to also see what you can do.

  

Step 3: Change into the directory of your project

cd my-app

   

Step 4: Launch the app on a local server so you can view it on the browser.

npm start

That's all you have to do to get started!


Sign In