node.js example rest api complete