阅读背景:

如何在mongoose(node.js)中定义产品系统的不同属性

来源:互联网 

I’m building a personal shop app where users can sell items to each other, but I’m having a difficult time figuring out how to manage the products. For instance if you want to sell a t-shirt you should be able to pick a size and color etc. but if you sell a computer you should specify the year, cpu power etc. All products have a title, price, images and so on, but how would you get by with the varying attributes? I am using mongodb for the objects.I’m building a personal shop app where users ca




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: