Blog tutorial from http://howtonode.org/express-mongodb, updated using Express 3