npm install -g yarn
cd
into ityarn install
npm install
npm run app-build
: build the Web Application into the dist-app
directorynpm run app-dev
: start a webpack development server, with hot-reloadnpm run server-build
: build the server from an ES2015 syntax to Node.js runnable code in the dist-server
directorynpm run server-dev
: start the server for development with automatic restart on code changesnpm run server-lint
: lint the servernpm run server-serve
: start the compiled version of the server (run from the dist-server
directory)npm run server-test
: test the serverWe all code on Windows. Install Mosquitto and run in the context of the repo: dev.bat
. This will start the MQTT broker, the development server and the development Web Application.