start-express-mongoose
A Mongoose boot helper for Express.js
Installation
$ npm install start-express-mongoose --save
Example Usage:
var app = ; // method #1app;// method #2processenvMONGO_URL = 'mongodb://user:pass@server.mongohq.com/db_name'; // start HTTP serverstartapp;
Hiding Log Output:
By default, this module will show log output similar to the following:
$ npm start✔ Mongoose connected to: mongodb://localhost/start-express-mongoose
To hide this log output, set the HIDE_SE_LOG
flag to true
:
$ HIDE_SE_LOG=true npm start
HIDE_SE_LOG
can equal true
or false
(default false
).