db.json has been fixed

This commit is contained in:
Mert Gör 🇹🇷 2024-05-23 21:16:20 +03:00
parent 52b65b71d8
commit 5bfb92cde7
Signed by: hwpplayer1
GPG key ID: 03E547D043AB6C8F

53
db.json
View file

@ -1,33 +1,24 @@
{ {
"products": [ "products": [
{ { "id": 1,
"id": "1", "productName": "Laptop",
"productName": "Laptop", "categoryId": 1,
"categoryId": 1, "unitPrice": 5000.99
"unitPrice": 5000.99 },
} { "id": 2,
{ "productName": "Mouse",
"id": "2", "categoryId": 1,
"productName": "Mouse", "unitPrice": 50.99 },
"categoryId": 2, { "id": 3,
"unitPrice": 50.99 "productName": "Water",
} "categoryId": 2,
{ "unitPrice": 0.99 }
"id": "3", ],
"productName": "Water", "categories": [
"categoryId": 3, { "id": 1,
"unitPrice": 0.99 "categoryName": "Computers" },
} { "id": 2,
], "categoryName": "Beverages" }
"categories": [ ]
{ }
"id": "1",
"categoryName": "Computers"
},
{
"id": "2",
"categoryName": "Beverages"
}
]
}