A basic structure for a node-js server
You need to make sure you have node v8.9.3 installed, install nvm and then install node v8.9.3
nvm install v8.9.3
and then
nvm use v8.9.3
Make sure to install yarn
Now, clone this repository onto your local disk and then run yarn
this should take care of installing all the needed packages
Finally, run the server by typing yarn dev
in the console.
NOTE Look at the different scripts in package.json if you wish to run a different script.