simple restful api on node.js