code from the tutorial Build a RESTful API Using Node and Express 4 at scotch.io