Tagon8 Blog

Sails mongo config

sailsMongo: {

   adapter: ‘sails-mongo’,

   host: ‘localhost’,

   port: 27017,

   // user: ‘username’,

   // password: ‘password’,

   database: ‘nome-do-banco’

 },<div class="lr_horizontal_share" data-share-url="http://blog.tagon8.com/code-snippets/sails-mongo-config/" data-counter-url="http://blog.tagon8.com/code-snippets/sails-mongo-config/"></div>