Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FoodView
Please create a React-JS view called "FoodView" for the fields of the Food entity. The FoodView must contain the following fields: - name: FoodName type: STRING - name: BillOfFare type: BillOfFare - name: SellingPrice type: DOUBLE - name: Ingredient type: STRING The data source for the [BillOfFare] select control should be loaded from the relative URL: "/CanteenService/billoffare" (HTTP-GET) An existing Food entity should be loaded from the relative URL: "/FoodService/food/{id}" (HTTP-GET) If a new Food entity has been created, the new entity should be posted to the relative URL: "/FoodService/food" (HTTP-POST) If an existing Food entity has been updated, the modified entity should be sent to the relative URL: "/FoodService/food/{id}" (HTTP-PUT) If an existing Food entity has to be deleted, the following relative URL should be called: "/FoodService/food/{id}" (HTTP-DELETE) 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/food/{id}" Add a HTML table to the view with the following FoodOrder columns: - column: FoodOrderDate - column: Teacher - column: Food - column: ExternalPerson - column: Student The table should have the title "FoodOrders" und the data must be loaded from the server with the following relative URL: "/FoodService/foodorder/food/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum