Example of REST aplication in node.js and mongoose.