Thalhalla / meanshop

Building an e-commerce application with the MEAN stack
http://meanshop.com
GNU General Public License v2.0
0 stars 2 forks source link

products #2

Open joshuacox opened 7 years ago

joshuacox commented 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     });
joshuacox commented 7 years ago

to add in a product. why else?

joshuacox commented 7 years ago

sorry it looks like everyone is subscribed automatically, sorry about that people! Unsubscribe yourselves, we're working here!