Tutorial from http://scotch.io/tutorials/javascript/build-a-restful-api-using-node-and-express-4.