You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it is generated from express-generator and lots of ppl just use it without questions
Below is only my personal preference:
prefer declaring functions at the top rather than bottom of the page as the reader would need to look all over your file to find the functions
some of the config there is overkilled, like normalisePorts; since you are controlling the env variable for port, it is kind of redundant; less is more
I know it is generated from express-generator and lots of ppl just use it without questions
Below is only my personal preference:
prefer declaring functions at the top rather than bottom of the page as the reader would need to look all over your file to find the functions
some of the config there is overkilled, like normalisePorts; since you are controlling the env variable for port, it is kind of redundant; less is more
https://stackoverflow.com/questions/47276081/expressjs-normalizeport-function-is-really-necessary
The text was updated successfully, but these errors were encountered: