Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MaterialApp
Please create a React-JS application for the MaterialModule. The application has to offer the following views for the user interface: 1. GeraetMaterialView 2. MaterialView 3. SchichtungsDesignView 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 GeraetMaterialView must contain the following fields: - name: IstBehaelterMaterial type: BOOL - name: IstWaermetauscherMaterial type: BOOL - name: Material type: Material - name: SpeicherGeraet type: SpeicherGeraet The data source for the [SpeicherGeraet] select control should be loaded from the relative URL: "/SpeicherGeraetService/speichergeraet" (HTTP-GET) The data source for the [Material] select control should be loaded from the relative URL: "/MaterialService/material" (HTTP-GET) An existing GeraetMaterial entity should be loaded from the relative URL: "/MaterialService/geraetmaterial/{id}" (HTTP-GET) If a new GeraetMaterial entity has been created, the new entity should be posted to the relative URL: "/MaterialService/geraetmaterial" (HTTP-POST) If an existing GeraetMaterial entity has been updated, the modified entity should be sent to the relative URL: "/MaterialService/geraetmaterial/{id}" (HTTP-PUT) If an existing GeraetMaterial entity has to be deleted, the following relative URL should be called: "/MaterialService/geraetmaterial/{id}" (HTTP-DELETE) 2. The MaterialView must contain the following fields: - name: ChloridGrenzwertMgL type: STRING - name: Hinweise type: STRING - name: IstKorrosionsfest type: BOOL - name: Name type: STRING An existing Material entity should be loaded from the relative URL: "/MaterialService/material/{id}" (HTTP-GET) If a new Material entity has been created, the new entity should be posted to the relative URL: "/MaterialService/material" (HTTP-POST) If an existing Material entity has been updated, the modified entity should be sent to the relative URL: "/MaterialService/material/{id}" (HTTP-PUT) If an existing Material entity has to be deleted, the following relative URL should be called: "/MaterialService/material/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetMaterial columns: - column: IstBehaelterMaterial - column: SpeicherGeraet - column: IstWaermetauscherMaterial - column: Material The table should have the title "GeraetMaterials" und the data must be loaded from the server with the following relative URL: "/MaterialService/geraetmaterial/material/{id}" 3. The SchichtungsDesignView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing SchichtungsDesign entity should be loaded from the relative URL: "/MaterialService/schichtungsdesign/{id}" (HTTP-GET) If a new SchichtungsDesign entity has been created, the new entity should be posted to the relative URL: "/MaterialService/schichtungsdesign" (HTTP-POST) If an existing SchichtungsDesign entity has been updated, the modified entity should be sent to the relative URL: "/MaterialService/schichtungsdesign/{id}" (HTTP-PUT) If an existing SchichtungsDesign entity has to be deleted, the following relative URL should be called: "/MaterialService/schichtungsdesign/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpeicherGeraet columns: - column: IstTrinkwassergeeignet - column: MinBetriebstemperatur - column: Name - column: SpeicherKategorie - column: HatHeizstab - column: KalkVerhalten - column: LegionellenRisikoProfil - column: SchichtungsDesign - column: IstSolarBereit - column: Bauart - column: IstNurPuffer - column: IstDirektentnahme - column: HatWaermetauscher - column: VolumenLiter - column: MaxBetriebstemperatur - column: Beschreibung The table should have the title "SpeicherGeraets" und the data must be loaded from the server with the following relative URL: "/SpeicherGeraetService/speichergeraet/schichtungsdesign/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum