Jobs
Blogs
Courses
Mentorship
Partners
For Employers
e2e logo

Installation And Getting Started With React

mac

React JS



  • React is the JavaScript library.
  • React is used to build single-page applications.
  • React allows us to create reusable UI components.

INSTALLATION AND GETTING STARTED 

  • Step-1:
  • First you want to install node.js
  • Node Package Manager (NPM) framework is required to run react library. Install nodejs from the below URL for windows.
  • URL: https://nodejs.org/en/download/



  • Confirm your installation by using the following commands in command prompt >node -v >npm -v 

Step-2: Create a new folder in a drive or desktop (d:\users\desktop\React) Install create-react app using the following command .

 A folder named example-app will be created inside the React folder.

 Step-3: Run the project d:\users\desktop\React>npm start The browser opens with localhost:3030 .

Step-4: Install Visual Studio If you do not have visual studio download it from http://code.visualstudio.com/download