We will now code the interface of the project. There will be three parts here: the Node.js application itself, a Jade file describing the interface, and a client-side Javascript file to handle the clicks on the interface.
Let’s first see the Node.js file itself, called app.js. The first part consists in using the Express framework for Node.js, which will create a server & handle all of this for us