mongoose resources for the express framework


Keywords
mongoose, resource, express
License
MIT
Install
npm install mangusu@0.1.6

Documentation

Build Status

mangusu

sugared mongoose resources for the express framework

{
  "meta": {
    "page_size": 5,
    "count": 22,
    "next": "/people?affiliation=osi&limit=5&skip=10",
    "previous": "/people?affiliation=osi&limit=50&skip=0"
  },
  "objects": [
    {
      "name":         "Gen. Hunter Gathers",
      "affiliation":  "/affiliations/53667c27ab69031b9826a569",
      "resource_uri": "/people/53667c27ab69031b9826b695",
      "_id":          "53667c27ab69031b9826b695"
    }, {
      "name":         "Brock Samson",
      "affiliation":  "/affiliations/53667c27ab69031b9826a569",
      "resource_uri": "/people/53667c27ab69031b9826b696",
      "_id":          "53667c27ab69031b9826b696"
    }, {
      "name":         "Shore Leave",
      "aliases":      [ "Holy Diver" ],
      "affiliation":  "/affiliations/53667c27ab69031b9826a569",
      "resource_uri": "/people/53667c27ab69031b9826b697",
      "_id":          "53667c27ab69031b9826b697"
    }, {
      "name":         "Mile High",
      "aliases":      [ "Sky Pilot" ],
      "affiliation":  "/affiliations/53667c27ab69031b9826a569",
      "resource_uri": "/people/53667c27ab69031b9826b698",
      "_id":          "53667c27ab69031b9826b698"
    }, {
      "name":         "General Timothy Treister",
      "affiliation":  "/affiliations/53667c27ab69031b9826a569",
      "resource_uri": "/people/53667c27ab69031b9826b699",
      "_id":          "53667c27ab69031b9826b699"
    }
  ]
}

api documentation

http://vforgione.github.io/mangusu