Node.js Folder Path Using __dirname in Es Module
BACKGROUND
So, I was writing a simple Node.js server application where I needed to access an html file in my root directory. This file was to be sent as a response to an http request. I believe if you have written any Node.js application at all you m...
kehindelawal-articles.hashnode.dev5 min read