how to connect a mongodb altas to expreesss
can you help anyone to fix it.
mongoclient error occured
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