Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ShopApp
Please create a React-JS application for the ShopModule. The application has to offer the following views for the user interface: 1. ShopView 2. ShopProduktView 3. ShopProduktPreisView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The ShopView must contain the following fields: - name: FlaecheM2 type: STRING - name: HatBistro type: BOOL - name: HatSitzplaetze type: BOOL - name: Name type: STRING - name: Tankstelle type: Tankstelle The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing Shop entity should be loaded from the relative URL: "/ShopService/shop/{id}" (HTTP-GET) If a new Shop entity has been created, the new entity should be posted to the relative URL: "/ShopService/shop" (HTTP-POST) If an existing Shop entity has been updated, the modified entity should be sent to the relative URL: "/ShopService/shop/{id}" (HTTP-PUT) If an existing Shop entity has to be deleted, the following relative URL should be called: "/ShopService/shop/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProduktPreis columns: - column: Shop - column: Waehrung - column: GueltigVon - column: Preis - column: ShopProdukt - column: GueltigBis The table should have the title "ShopProduktPreiss" und the data must be loaded from the server with the following relative URL: "/ShopService/shopproduktpreis/shop/{id}" 2. The ShopProduktView must contain the following fields: - name: Einheitsgroesse type: STRING - name: IstAltersbeschraenkt type: BOOL - name: MarkenName type: Marke - name: Name type: STRING - name: ShopProduktKategorie type: ShopProduktKategorie - name: Sku type: STRING The data source for the [ShopProduktKategorie] select control should be loaded from the relative URL: "/ShopProduktKategorieService/shopproduktkategorie" (HTTP-GET) The data source for the [MarkenName] select control should be loaded from the relative URL: "/MarkeService/marke" (HTTP-GET) An existing ShopProdukt entity should be loaded from the relative URL: "/ShopService/shopprodukt/{id}" (HTTP-GET) If a new ShopProdukt entity has been created, the new entity should be posted to the relative URL: "/ShopService/shopprodukt" (HTTP-POST) If an existing ShopProdukt entity has been updated, the modified entity should be sent to the relative URL: "/ShopService/shopprodukt/{id}" (HTTP-PUT) If an existing ShopProdukt entity has to be deleted, the following relative URL should be called: "/ShopService/shopprodukt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProduktPreis columns: - column: Shop - column: Waehrung - column: GueltigVon - column: Preis - column: ShopProdukt - column: GueltigBis The table should have the title "ShopProduktPreiss" und the data must be loaded from the server with the following relative URL: "/ShopService/shopproduktpreis/shopprodukt/{id}" 3. The ShopProduktPreisView must contain the following fields: - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Preis type: STRING - name: Shop type: Shop - name: ShopProdukt type: ShopProdukt - name: Waehrung type: STRING The data source for the [Shop] select control should be loaded from the relative URL: "/ShopService/shop" (HTTP-GET) The data source for the [ShopProdukt] select control should be loaded from the relative URL: "/ShopService/shopprodukt" (HTTP-GET) An existing ShopProduktPreis entity should be loaded from the relative URL: "/ShopService/shopproduktpreis/{id}" (HTTP-GET) If a new ShopProduktPreis entity has been created, the new entity should be posted to the relative URL: "/ShopService/shopproduktpreis" (HTTP-POST) If an existing ShopProduktPreis entity has been updated, the modified entity should be sent to the relative URL: "/ShopService/shopproduktpreis/{id}" (HTTP-PUT) If an existing ShopProduktPreis entity has to be deleted, the following relative URL should be called: "/ShopService/shopproduktpreis/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum