Tagon8 Blog

Sails mongo config

sailsMongo: {

   adapter: ‘sails-mongo’,

   host: ‘localhost’,

   port: 27017,

   // user: ‘username’,

   // password: ‘password’,

   database: ‘nome-do-banco’

 },<div class="saboxplugin-wrap"><div class="saboxplugin-gravatar"><img alt='' src='http://0.gravatar.com/avatar/c4a39d2385f7e6506e32a11585c392f0?s=100&#038;d=mm&#038;r=g' srcset='http://0.gravatar.com/avatar/c4a39d2385f7e6506e32a11585c392f0?s=200&amp;d=mm&amp;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="saboxplugin-authorname"><a href="http://blog.tagon8.com/author/bruno/">Bruno Haveroth</a></div><div class="saboxplugin-desc"><div class="vcard author"><span class="fn"></span></div></div><div class="clearfix"></div><div class="saboxplugin-socials "></div></div><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>