How to handle Db connection in NODE?
I am doing an app using Node - Mongo - Graphql. So which is the best way to establish connections. Suppose if i make a db connection intially and if it fails in any case how can i reconnect it . Any other better way? Prons and cons of this method