I am following this tutorial: https://codeshack.io/basic-login-system-nodejs-express-mysql/
There are NodeJS and Express functions used to setup a connection to the MySQL database, and respond to http GET & POST requests. My question is: where does the server get setup? What I understand currently is that I need the http.createServer() call somewhere to start the actual server. Would this go in the same code, or in a separate file?
Thank you for the help.