I re-organized the files into a /public and created a server.js. I then used npm init to initialize the node project. I used npm i --save express to create express as a dependency. I then wrote the server.js file. I used strict, defined several constants related to running express and the server including a console log related to the port the server is running on.
This event took approximately 30 minutes.
I re-organized the files into a /public and created a server.js. I then used npm init to initialize the node project. I used npm i --save express to create express as a dependency. I then wrote the server.js file. I used strict, defined several constants related to running express and the server including a console log related to the port the server is running on.