Dev

  • npm install in root and client directory for all dependencies.
  • yarn dev in root directory to run the application.
  • Webpage: localhost:3000

Build

  • yarn build in the client folder to compile
  • node server in the root directory to start
  • Webpage: localhost:9000

Structure

  • React files are is the /client folder
  • Node.js code is in /server.js

Requirements

  • npm install -g nodemon
  • npm install -g yarn
  • npm install -g create-react-app