> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" > brew install npm
Install React app builder using node package manager.
> npm install create-react-app -g
Create a react app project, aptly named “my-app.”
> create-react-app my-app
Change directory into newly created app folder.
> cd my-app
Start the npm server for the app.
> npm start
To create a production version of the web app:
> npm run build