First commit

This commit is contained in:
2018-05-31 12:39:05 -04:00
commit fb65ff28f2
8 changed files with 4053 additions and 0 deletions

20
models/productModel.js Normal file
View File

@@ -0,0 +1,20 @@
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var productModel = new Schema({
productName: String,
productCode: String,
category: String,
brand: String,
sku: String,
resolution: String,
type: String,
technology: String,
series: String,
description: String,
price: Number,
discount: String,
imageUrl: String
});
module.exports = mongoose.model('Product', productModel);