how to get back a directory from __dirname code example
Example: __dirname go back one directory
let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.