I'm still learning Node and Express. I want to know what is a better practice:- Should I write functions that'll be used in the HTTP requests inside app.js and use them within the same file- Or should I create a separate file with exported functions and import them in app.js?Thanks!
Submitted November 29, 2019 at 05:47PM by optechhas
No comments:
Post a Comment