Open joshuacox opened 7 years ago
https://github.com/Thalhalla/meanshop/blob/master/server/config/seed.js
55 return Product.create({ 56 title: 'MEAN eCommerce Book', 57 imageUrl: '/assets/uploads/meanbook.jpg', 58 price: 25, 59 stock: 250, 60 categories: [books], 61 description: 'Build a powerful e-commerce application quickly with MEAN, a leading full-JavaScript stack. It takes you step-by-step from creating > 62 }, { 63 title: 'T-shirt', 64 imageUrl: '/assets/uploads/meantshirt.jpg', 65 price: 15, 66 stock: 100, 67 categories: [clothing], 68 description: 'T-shirt with the MEAN stack logo' 69 }, { + 70 title: 'Arma3', + 71 imageUrl: '/assets/uploads/arma3.png', + 72 price: 16, + 73 stock: 999, + 74 categories: [home], + 75 description: 'Arma3 the military simulator' + 76 }, { 77 title: 'Coffee Mug', 78 imageUrl: '/assets/uploads/meanmug.jpg', 79 price: 8, 80 stock: 50, 81 categories: [home], 82 description: 'Convert coffee into MEAN code' 83 });
to add in a product. why else?
sorry it looks like everyone is subscribed automatically, sorry about that people! Unsubscribe yourselves, we're working here!
https://github.com/Thalhalla/meanshop/blob/master/server/config/seed.js