npx create-react-app counter-app
- To create the project working directory where everything would be done and also download the needed react tools.
cd counter-app
npm run start
- To start the app and run it in the browser
npm run build
- This will simply create a build of the application and place the build into a new folder called build whatever is in the folder will be used for production.
npm install react-router-dom
- This will install the react-router-dom package into our project