db.json has been fixed
This commit is contained in:
parent
52b65b71d8
commit
5bfb92cde7
1 changed files with 22 additions and 31 deletions
33
db.json
33
db.json
|
@ -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"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue