title: Express js and Mongo DB database definition
body: <p>I started learning node these days and Im using Express js framework.</p>
  
  <p>I found this great tutorial from Christophe Coenraets with all stuff I need since I have a little bit experience in Backbone js.</p>
  
  <p>The thing that's confusing me the most in Node js is working with databases . (I'm only familiar with MYSQL since i was using PHP)</p>
  
  <p>For example in this tutorial , in this file </p>
  
  <p><a href="https://github.com/ccoenraets/nodecellar/blob/master/routes/wines.js" rel="nofollow">https://github.com/ccoenraets/nodecellar/blob/master/routes/wines.js</a></p>
  
  <p>He use "populateDB" function to populate the database for the first time whit some doomy data when app is started,</p>
  
  <p>Now since I was using PHP , I what to do the same thing I was doing there , I want to create database structure or something like shell so I can have an image in my head to to represent the data , for example I saw some example is "mongoose" module "mongo db object modeling" that there are some things like "Schema" or something like that .</p>
  
  <p>Can somebody explain me right logic on working with databases in Node js, how you start when you are creating your app, the process and stuff? its little bit confusing to start working and to dont know from the start how the database will look like.</p>
  
  <p>Tnx a lot ! :)</p>