sample nodejs app to RESTful