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

33
db.json
View file

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