Sunday 29 September 2019

Best file/code structure for Node + Mysql?

What is the best project structure for Mysql on node? I want to be able to make queries in different files/routes. How should the database connection file look like, and what is the best way to reuse that connection ( pool?) in other files? Could someone help me out, or at least redirect me to an open source project that would make a great example.

Submitted September 29, 2019 at 08:50PM by amza10

No comments:

Post a Comment