yarm
yarm copied to clipboard
Yet Another REST Middleware for node.js, Express and mongoose
Make PUT requests replace all fields of document and set empty fields of the request body to undefined.
To bring it to absolute perfection (https://github.com/njoyard/yarm/issues/2) from my point of view. Sorting via url is requested. ``` GET http://localhost/api/v1/Customers?sort=-name ```
It's possible to have population feature also via url. E.g. ``` http://somehost:someport/posts?populate=tasks ``` Idea stolen from https://github.com/florianholzapfel/express-restify-mongoose