training node.js RESTful application