Watch PeerJS documentation here.
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
brew update && brew install nodejs
Check the install :
node -v
sudo apt-get install mongodb-server mongodb-clients
Check the install :
mongo
sudo apt-get install npm
cd backend/
npm install
Run the server :
./bin/www
npm install
ng serve
npm run package-all