let me think about it...
q: do you control that when database is connected, the express server starts?
the lines 168+ is mm a little 'ok'... but, when accesing the endpoints, as your code shows, you must call the database connection function every time it access an endpoint :S
let me think about it...
q: do you control that when database is connected, the express server starts?
the lines 168+ is mm a little 'ok'... but, when accesing the endpoints, as your code shows, you must call the database connection function every time it access an endpoint :S