Basic REST API implemented in Node.js