See Post at: http://pixelhandler.com/blog/2012/02/09/develop-a-restful-api-using-node-js-with-express-and-mongoose/
Example : two resources (/products and /products/1) and the four HTTP verbs
Product:
Id,
Title,
Description,
Image URL,
Categories: [ { Name } ],
Style Number,
Colors: [
{
Name,
Images: [
{ Size, URL }
],
Sizes: [
{ Size, Available, SKU, Price }
],
}
]
Urls:
Models are defined by passing a Schema instance to mongoose.model.