title: can't find mongodb collections/data
body: <p>I'm working on a web app with node/express/mongodb, using mongoose. I created a folder in my project called <code>data</code> and inside I created another folder called <code>db</code></p>
  
  <ul>
  <li>data
  
  <ul>
  <li>db</li>
  </ul></li>
  </ul>
  
  <p>when I start mongo, I use the <code>--dbpath</code> parameter and point it to my project <code>data</code> folder that I created. It connects fine and everything. I've been writing some data to the database, and the application loads it correctly, but I can't find the data when I open mongo shell. </p>
  
  <p>first thing is, when I open shell the only database I get is <code>test</code>. Is this auto created if I don't specify a database name? how do I specify a database name? I have the following in my <code>app.js</code> file:</p>
  
  <pre><code>var mongoose = require('mongoose');
  mongoose.connect('mongodb://localhost/abduldb');
  </code></pre>
  
  <p>My guess is that a database named <code>abduldb</code> should be created correct? I don't see this in mongo shell.</p>
  
  <p>Also, when using the <code>test</code> database, I run <code>show collections</code> and it shows no results... Where exactly is my data being written? I only have 1 model right now and it looks like this:</p>
  
  <pre><code>var mongoose = require('mongoose');
  
  var ItemSchema = new mongoose.Schema({
    title: String,
    body: String
  });
  
  mongoose.model('item', ItemSchema);
  </code></pre>
  
  <p>and I'm adding new items in my route file using:</p>
  
  <pre><code>router.post('/items', function (req, res, next) {
    var item = new Item(req.body);
    item.save(function(err, item){
      if(err){ return next(err); }
      res.json(item);
    });
  });
  </code></pre>