Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. NotrufnummerView 3. WahrnehmungsStudieView 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 LandView must contain the following fields: - name: Bevoelkerung type: LONG - name: IsoCode type: STRING - name: Name type: STRING - name: Notizen type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WahrnehmungsStudie columns: - column: Jahr - column: Beschreibung - column: VertrauensWert - column: Land - column: StudienName - column: Stichprobe The table should have the title "WahrnehmungsStudies" und the data must be loaded from the server with the following relative URL: "/LandService/wahrnehmungsstudie/land/{id}" Add a HTML table to the view with the following Feuerwehr columns: - column: IstFreiwillig - column: IstMilitaerisch - column: Name - column: IstIndustriell - column: Gemeinde - column: FeuerwehrArt - column: Gruendungsdatum - column: Beschreibung - column: IstBeruflich - column: Land The table should have the title "Feuerwehrs" und the data must be loaded from the server with the following relative URL: "/FeuerwehrService/feuerwehr/land/{id}" Add a HTML table to the view with the following Notrufnummer columns: - column: Beschreibung - column: Nummer - column: Bereich - column: IstEuronotruf - column: GueltigVon - column: GueltigBis - column: Land - column: IstAltNummer The table should have the title "Notrufnummers" und the data must be loaded from the server with the following relative URL: "/LandService/notrufnummer/land/{id}" 2. The NotrufnummerView must contain the following fields: - name: Bereich type: STRING - name: Beschreibung type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: IstAltNummer type: BOOL - name: IstEuronotruf type: BOOL - name: Land type: Land - name: Nummer type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Notrufnummer entity should be loaded from the relative URL: "/LandService/notrufnummer/{id}" (HTTP-GET) If a new Notrufnummer entity has been created, the new entity should be posted to the relative URL: "/LandService/notrufnummer" (HTTP-POST) If an existing Notrufnummer entity has been updated, the modified entity should be sent to the relative URL: "/LandService/notrufnummer/{id}" (HTTP-PUT) If an existing Notrufnummer entity has to be deleted, the following relative URL should be called: "/LandService/notrufnummer/{id}" (HTTP-DELETE) 3. The WahrnehmungsStudieView must contain the following fields: - name: Beschreibung type: STRING - name: Jahr type: INT - name: Land type: Land - name: Stichprobe type: INT - name: StudienName type: STRING - name: VertrauensWert type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing WahrnehmungsStudie entity should be loaded from the relative URL: "/LandService/wahrnehmungsstudie/{id}" (HTTP-GET) If a new WahrnehmungsStudie entity has been created, the new entity should be posted to the relative URL: "/LandService/wahrnehmungsstudie" (HTTP-POST) If an existing WahrnehmungsStudie entity has been updated, the modified entity should be sent to the relative URL: "/LandService/wahrnehmungsstudie/{id}" (HTTP-PUT) If an existing WahrnehmungsStudie entity has to be deleted, the following relative URL should be called: "/LandService/wahrnehmungsstudie/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum