Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StadtApp
Please create a React-JS application for the StadtModule. The application has to offer the following views for the user interface: 1. FeuerwacheView 2. OrganisationView 3. StadtView 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 FeuerwacheView must contain the following fields: - name: HydrantStandort type: HydrantStandort - name: Name type: STRING - name: Organisation type: Organisation The data source for the [Organisation] select control should be loaded from the relative URL: "/StadtService/organisation" (HTTP-GET) The data source for the [HydrantStandort] select control should be loaded from the relative URL: "/HydrantStandortService/hydrantstandort" (HTTP-GET) An existing Feuerwache entity should be loaded from the relative URL: "/StadtService/feuerwache/{id}" (HTTP-GET) If a new Feuerwache entity has been created, the new entity should be posted to the relative URL: "/StadtService/feuerwache" (HTTP-POST) If an existing Feuerwache entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/feuerwache/{id}" (HTTP-PUT) If an existing Feuerwache entity has to be deleted, the following relative URL should be called: "/StadtService/feuerwache/{id}" (HTTP-DELETE) 2. The OrganisationView must contain the following fields: - name: Adresse type: STRING - name: Beschreibung type: STRING - name: Email type: STRING - name: Land type: Land - name: Name type: STRING - name: OrganisationType type: OrganisationType - name: Stadt type: Stadt - name: Telefon type: STRING The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) The data source for the [OrganisationType] select control should be loaded from the relative URL: "/HydrantTypeService/organisationtype" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Organisation entity should be loaded from the relative URL: "/StadtService/organisation/{id}" (HTTP-GET) If a new Organisation entity has been created, the new entity should be posted to the relative URL: "/StadtService/organisation" (HTTP-POST) If an existing Organisation entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/organisation/{id}" (HTTP-PUT) If an existing Organisation entity has to be deleted, the following relative URL should be called: "/StadtService/organisation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WasserNetz columns: - column: Beschreibung - column: FrostTiefeCm - column: Name - column: BetreiberOrganisation The table should have the title "WasserNetzs" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/wassernetz/betreiberorganisation/{id}" Add a HTML table to the view with the following Feuerwache columns: - column: Organisation - column: HydrantStandort - column: Name The table should have the title "Feuerwaches" und the data must be loaded from the server with the following relative URL: "/StadtService/feuerwache/organisation/{id}" Add a HTML table to the view with the following HydrantNutzung columns: - column: Organisation - column: GeschaetztesVolumenM3 - column: NutzungsArt - column: Hydrant - column: Beschreibung - column: NutzungsDatum The table should have the title "HydrantNutzungs" und the data must be loaded from the server with the following relative URL: "/StandrohrTypeService/hydrantnutzung/organisation/{id}" 3. The StadtView must contain the following fields: - name: Land type: Land - name: Name type: STRING - name: Postleitzahl type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/StadtService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/StadtService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/StadtService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Organisation columns: - column: Land - column: OrganisationType - column: Stadt - column: Telefon - column: Beschreibung - column: Adresse - column: Email - column: Name The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/StadtService/organisation/stadt/{id}" Add a HTML table to the view with the following Ereignis columns: - column: EreignisType - column: Name - column: Beschreibung - column: Stadt - column: StartDatumZeit - column: EndeDatumZeit The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/EreignisTypeService/ereignis/stadt/{id}" Add a HTML table to the view with the following HydrantStandort columns: - column: Longitude - column: Hausnummer - column: Strasse - column: Latitude - column: Stadt - column: HoeheM - column: Beschreibung The table should have the title "HydrantStandorts" und the data must be loaded from the server with the following relative URL: "/HydrantStandortService/hydrantstandort/stadt/{id}" Add a HTML table to the view with the following BrandEreignis columns: - column: StartDatumZeit - column: Schwere - column: HauptHydrant - column: Beschreibung - column: EndeDatumZeit - column: Stadt The table should have the title "BrandEreigniss" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/brandereignis/stadt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum