This is the code from the book Express.js in Action.
I've provided a Vagrant virtual machine with Node (installed with nvm), the Express application generator, and MongoDB. To use it, install Vagrant, and then:
vagrant up # to start the virtual machine
vagrant ssh # to SSH into the virtual machine
cd /vagrant # to get to the code