Hapi-Mongoose-Q
Mongoose-Q connector for hapi
Description
This plugin provides the functionality to connect and disconnect from a mongoDB database using mongoose-q. It also ensures that the connection is available before calling server.start()
.
Usage
var Hapi = ;var server = ; server; server; serverstart;
Options
The following option must be passed when registering the plugin:
- 'mongoDbUri' - a string representing the connection URI used to connect to a MongoDB database server.