Just follow tutorial from http://webapplog.com/express-js-and-mongoose-example-building-hackhall/