Skip to main content

Setting up Project

# Verify the node and npm installations
node -v
npm -v

Create a Project

The following command will create the basic folder structure of react app

npm init react-app <APP_NAME>
npm i web-vitals --save-dev

Start a Project

npm start

The initial React app will have its entry point from index.js, which will import App from App.js.
Flow: index.js → App.js.