Datenanbindung und Kategorie Komponente implementiert.
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"type": "produkt",
|
||||
"id": "spaghetti",
|
||||
"attributes": {
|
||||
"titel": "Spaghetti",
|
||||
"kategorie": "Pasta",
|
||||
"menge": 500,
|
||||
"einheit": "Gramm",
|
||||
"bild": "https://www.pastaweb.de/wp-content/uploads/2016/02/spaghetti.jpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "produkt",
|
||||
"id": "salat",
|
||||
"attributes": {
|
||||
"titel": "Salat",
|
||||
"kategorie": "Gemüse",
|
||||
"menge": 1,
|
||||
"einheit": "Kopf",
|
||||
"bild": "https://napolipizza-spiez.ch/WebRoot/Store2/Shops/178389/5BD1/5BA4/85F2/ACB6/97E9/D91A/30FA/F35F/gruener-salat-2464087.jpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "produkt",
|
||||
"id": "milch",
|
||||
"attributes": {
|
||||
"titel": "Milch",
|
||||
"kategorie": "Milchprodukte",
|
||||
"menge": 1,
|
||||
"einheit": "Liter",
|
||||
"bild": "https://lebensmittel-warenkunde.de/assets/images/milch-milchprodukte.jpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "produkt",
|
||||
"id": "kaese",
|
||||
"attributes": {
|
||||
"titel": "Käse",
|
||||
"kategorie": "Milchprodukte",
|
||||
"menge": 200,
|
||||
"einheit": "Gramm",
|
||||
"bild": "https://www.der-bank-blog.de/wp-content/uploads/2016/04/banking-schweizer-kaese.jpg"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user