Node.js from Scratch-REST API