Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FoodStuffView
Please create a React-JS view called "FoodStuffView" for the fields of the FoodStuff entity. The FoodStuffView must contain the following fields: - name: Description type: STRING - name: FoodStuffName type: STRING An existing FoodStuff entity should be loaded from the relative URL: "/FoodService/foodstuff/{id}" (HTTP-GET) If a new FoodStuff entity has been created, the new entity should be posted to the relative URL: "/FoodService/foodstuff" (HTTP-POST) If an existing FoodStuff entity has been updated, the modified entity should be sent to the relative URL: "/FoodService/foodstuff/{id}" (HTTP-PUT) If an existing FoodStuff entity has to be deleted, the following relative URL should be called: "/FoodService/foodstuff/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PurchaseListItem columns: - column: PurchaseList - column: Price - column: FoodStuff - column: Amount The table should have the title "PurchaseListItems" und the data must be loaded from the server with the following relative URL: "/PurchaseListService/purchaselistitem/foodstuff/{id}" Add a HTML table to the view with the following FoodStuffFood columns: - column: FoodStuff - column: Food - column: PercentageRate The table should have the title "FoodStuffFoods" und the data must be loaded from the server with the following relative URL: "/FoodService/foodstufffood/foodstuff/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum