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": [ "products": [
{ { "id": 1,
"id": "1",
"productName": "Laptop", "productName": "Laptop",
"categoryId": 1, "categoryId": 1,
"unitPrice": 5000.99 "unitPrice": 5000.99
} },
{ { "id": 2,
"id": "2",
"productName": "Mouse", "productName": "Mouse",
"categoryId": 2, "categoryId": 1,
"unitPrice": 50.99 "unitPrice": 50.99 },
} { "id": 3,
{
"id": "3",
"productName": "Water", "productName": "Water",
"categoryId": 3, "categoryId": 2,
"unitPrice": 0.99 "unitPrice": 0.99 }
}
], ],
"categories": [ "categories": [
{ { "id": 1,
"id": "1", "categoryName": "Computers" },
"categoryName": "Computers" { "id": 2,
}, "categoryName": "Beverages" }
{
"id": "2",
"categoryName": "Beverages"
}
] ]
} }