Setup React
$ mkdir my-app $ cd my-app $ npm init
$ git init .
$ mkdir src $ cd src
$ touch index.html $ touch index.js
Setup Webpack
$ npm install webpack webpack-cli webpack-dev-server --save-dev
$ npm install html-webpack-plugin --save-dev
Setup Babel
$ npm install @babel/core babel-loader --save-dev
$ npm install @babel/preset-env @babel/preset-react --save-dev
Build and Run
$ npm run build
Concurrently package utilized to run both server and client
$ npm run dev