A Restful api using node-js, express and mongoose