This code is borrowed from James Q Quick's youtube video to explain how asynchronous code evolved and is currently used in Javascript.
Steps to run:
- Open project in VSCode.
- Open terminal and navigate to the root of the project
- run
npm install
to install the dependencies needed for this project
- run
node app.js
to run the node server and execute the javascript code.