You need to install the Node.js JavaScript runtime.
On deb-based Linux distributions, use the following command:
sudo apt-get install nodejs
On Macs with the Homebrew package manager installed, use:
brew install node
All required libraries are pre-installed in the repository.
Download test data from https://student.cgv.tugraz.at/assets/db.zip
and unpack it to a folder db
.
cd server
nodejs server.js
note: on some systems the command is node
instead of nodejs
.