Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MarkeApp
Please create a React-JS application for the MarkeModule. The application has to offer the following views for the user interface: 1. MarkeView 2. ShopView 3. ShopProduktView 4. ShopProduktKategorieView 5. 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 5 views are defined below. 1. The MarkeView must contain the following fields: - name: Land type: STRING - name: Muttergesellschaft type: STRING - name: Name type: STRING - name: Webseite type: STRING An existing Marke entity should be loaded from the relative URL: "/MarkeService/marke/{id}" (HTTP-GET) If a new Marke entity has been created, the new entity should be posted to the relative URL: "/MarkeService/marke" (HTTP-POST) If an existing Marke entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/marke/{id}" (HTTP-PUT) If an existing Marke entity has to be deleted, the following relative URL should be called: "/MarkeService/marke/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tankstelle columns: - column: TankstellenTyp - column: HatWaschanlage - column: Marke - column: Name - column: AusserbetriebnahmeDatum - column: HatLadestation - column: HatShop - column: Betreiber - column: InbetriebnahmeDatum - column: Standort The table should have the title "Tankstelles" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelle/marke/{id}" Add a HTML table to the view with the following ShopProdukt columns: - column: ShopProduktKategorie - column: Sku - column: IstAltersbeschraenkt - column: Name - column: Einheitsgroesse - column: Marke The table should have the title "ShopProdukts" und the data must be loaded from the server with the following relative URL: "/MarkeService/shopprodukt/marke/{id}" 2. 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: "/MarkeService/shop/{id}" (HTTP-GET) If a new Shop entity has been created, the new entity should be posted to the relative URL: "/MarkeService/shop" (HTTP-POST) If an existing Shop entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/shop/{id}" (HTTP-PUT) If an existing Shop entity has to be deleted, the following relative URL should be called: "/MarkeService/shop/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProduktPreis columns: - column: Shop - column: GueltigBis - column: Preis - column: GueltigVon - column: Waehrung - column: ShopProdukt The table should have the title "ShopProduktPreiss" und the data must be loaded from the server with the following relative URL: "/MarkeService/shopproduktpreis/shop/{id}" 3. The ShopProduktView must contain the following fields: - name: Einheitsgroesse type: STRING - name: IstAltersbeschraenkt type: BOOL - name: Marke 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: "/MarkeService/shopproduktkategorie" (HTTP-GET) The data source for the [Marke] select control should be loaded from the relative URL: "/MarkeService/marke" (HTTP-GET) An existing ShopProdukt entity should be loaded from the relative URL: "/MarkeService/shopprodukt/{id}" (HTTP-GET) If a new ShopProdukt entity has been created, the new entity should be posted to the relative URL: "/MarkeService/shopprodukt" (HTTP-POST) If an existing ShopProdukt entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/shopprodukt/{id}" (HTTP-PUT) If an existing ShopProdukt entity has to be deleted, the following relative URL should be called: "/MarkeService/shopprodukt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProduktPreis columns: - column: Shop - column: GueltigBis - column: Preis - column: GueltigVon - column: Waehrung - column: ShopProdukt The table should have the title "ShopProduktPreiss" und the data must be loaded from the server with the following relative URL: "/MarkeService/shopproduktpreis/shopprodukt/{id}" 4. The ShopProduktKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing ShopProduktKategorie entity should be loaded from the relative URL: "/MarkeService/shopproduktkategorie/{id}" (HTTP-GET) If a new ShopProduktKategorie entity has been created, the new entity should be posted to the relative URL: "/MarkeService/shopproduktkategorie" (HTTP-POST) If an existing ShopProduktKategorie entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/shopproduktkategorie/{id}" (HTTP-PUT) If an existing ShopProduktKategorie entity has to be deleted, the following relative URL should be called: "/MarkeService/shopproduktkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProdukt columns: - column: ShopProduktKategorie - column: Sku - column: IstAltersbeschraenkt - column: Name - column: Einheitsgroesse - column: Marke The table should have the title "ShopProdukts" und the data must be loaded from the server with the following relative URL: "/MarkeService/shopprodukt/shopproduktkategorie/{id}" 5. 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: "/MarkeService/shop" (HTTP-GET) The data source for the [ShopProdukt] select control should be loaded from the relative URL: "/MarkeService/shopprodukt" (HTTP-GET) An existing ShopProduktPreis entity should be loaded from the relative URL: "/MarkeService/shopproduktpreis/{id}" (HTTP-GET) If a new ShopProduktPreis entity has been created, the new entity should be posted to the relative URL: "/MarkeService/shopproduktpreis" (HTTP-POST) If an existing ShopProduktPreis entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/shopproduktpreis/{id}" (HTTP-PUT) If an existing ShopProduktPreis entity has to be deleted, the following relative URL should be called: "/MarkeService/shopproduktpreis/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum