Example REST API, using node.js, express and mongoose