In order to run each example, run: node [file-name] except for event-listeners.js which should be imported in a html file.
To fetch data from json server move to data folder (cd data) and then run: json-server db.json --watch
Note: json-server must be installed, it can be installed running
- npm install json-server -g