Datenanbindung und Kategorie Komponente implementiert.

This commit is contained in:
2020-05-29 01:19:32 +02:00
parent aff7e6a04f
commit 5b9410cf1c
14 changed files with 258 additions and 78 deletions
+49
View File
@@ -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"
}
}
]
}
View File
View File