mongoose-connection
Module responsible with mongodb connection. Options took from env settings
Installation
$ npm install mongoose-connectx
Usage
- Load the module
- Pass configuration options(mongoose,bluebird)
Example
/* index.js */ //init express //Mongodb Connect const mongooseConnection = mongoosebluebird; mongooseConnection; //endregion //init routes //init express server