Currently I am doing full stack javascript development using node,express. My question is how to make a variable at app.js/server and can be access by all its controllers without any further declaration. (Something like static variable in java, you don't need to do anything, just use that variable like class.variable)
If it is impossible, what is a way to get around this?