-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.js
25 lines (24 loc) · 1.52 KB
/
data.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = function () {
return {
products: [
{id: 1, name: 'Samsung S5', price: 1000, imageUrl: 'p1.jpg', description: 'Good product.', category: 'Telefon'},
{id: 2, name: 'Samsung S6', price: 2000, imageUrl: 'p2.jpg', description: 'Not bad product.', category: 'Telefon'},
{id: 3, name: 'Samsung S7', price: 3000, imageUrl: 'p3.jpg', description: 'Bad product.', category: 'Telefon'},
{id: 4, name: 'Samsung S8', price: 4000, imageUrl: 'p4.jpg', description: 'Popular product.', category: 'Telefon'},
{id: 5, name: 'Samsung S9', price: 5000, imageUrl: 'p5.jpg', description: 'Useful product.', category: 'Telefon'},
{id: 6, name: 'Samsung S10', price: 6000, imageUrl: 'p6.jpg', description: 'Like product.', category: 'Telefon'},
{id: 7, name: 'Samsung S11', price: 7000, imageUrl: 'p7.jpg', description: 'Rarely product.', category: 'Telefon'},
{id: 8, name: 'Asus X543UA', price: 3000, imageUrl: 'p8.jpg', description: 'Useful product.', category: 'Bilgisayar'},
{id: 9, name: 'Asus X540UB', price: 3500, imageUrl: 'p9.jpg', description: 'Rarely product.', category: 'Bilgisayar'},
{id: 10, name: 'Vestel 43U9500', price: 2500, imageUrl: 'p10.jpg', description: 'Like product.', category: 'Elektronik'},
{id: 11, name: 'Axen 24', price: 900, imageUrl: 'p11.jpg', description: 'Bad product.', category: 'Elektronik'}
],
categories: [
{id: 1, name: 'Telefon' },
{id: 2, name: 'Bilgisayar' },
{id: 3, name: 'Elektronik'}
],
orders: [
]
}
};