Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AufgabeApp
Please create a React-JS application for the AufgabeModule. The application has to offer the following views for the user interface: 1. AufgabeView 2. FeuerwacheView 3. FeuerwehrArtView 4. FeuerwehrAufgabeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AufgabeView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Kategorie type: STRING - name: Name type: STRING An existing Aufgabe entity should be loaded from the relative URL: "/AufgabeService/aufgabe/{id}" (HTTP-GET) If a new Aufgabe entity has been created, the new entity should be posted to the relative URL: "/AufgabeService/aufgabe" (HTTP-POST) If an existing Aufgabe entity has been updated, the modified entity should be sent to the relative URL: "/AufgabeService/aufgabe/{id}" (HTTP-PUT) If an existing Aufgabe entity has to be deleted, the following relative URL should be called: "/AufgabeService/aufgabe/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzAufgabe columns: - column: Einsatz - column: Aufgabe The table should have the title "EinsatzAufgabes" und the data must be loaded from the server with the following relative URL: "/EinsatzService/einsatzaufgabe/aufgabe/{id}" Add a HTML table to the view with the following FeuerwehrAufgabe columns: - column: Feuerwehr - column: Aufgabe The table should have the title "FeuerwehrAufgabes" und the data must be loaded from the server with the following relative URL: "/AufgabeService/feuerwehraufgabe/aufgabe/{id}" 2. The FeuerwacheView must contain the following fields: - name: Adresse type: STRING - name: Breitengrad type: STRING - name: Feuerwehr type: Feuerwehr - name: IstHauptwache type: BOOL - name: Laengengrad type: STRING - name: Name type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing Feuerwache entity should be loaded from the relative URL: "/AufgabeService/feuerwache/{id}" (HTTP-GET) If a new Feuerwache entity has been created, the new entity should be posted to the relative URL: "/AufgabeService/feuerwache" (HTTP-POST) If an existing Feuerwache entity has been updated, the modified entity should be sent to the relative URL: "/AufgabeService/feuerwache/{id}" (HTTP-PUT) If an existing Feuerwache entity has to be deleted, the following relative URL should be called: "/AufgabeService/feuerwache/{id}" (HTTP-DELETE) 3. The FeuerwehrArtView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing FeuerwehrArt entity should be loaded from the relative URL: "/AufgabeService/feuerwehrart/{id}" (HTTP-GET) If a new FeuerwehrArt entity has been created, the new entity should be posted to the relative URL: "/AufgabeService/feuerwehrart" (HTTP-POST) If an existing FeuerwehrArt entity has been updated, the modified entity should be sent to the relative URL: "/AufgabeService/feuerwehrart/{id}" (HTTP-PUT) If an existing FeuerwehrArt entity has to be deleted, the following relative URL should be called: "/AufgabeService/feuerwehrart/{id}" (HTTP-DELETE) 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/feuerwehrart/{id}" 4. The FeuerwehrAufgabeView must contain the following fields: - name: Aufgabe type: Aufgabe - name: Feuerwehr type: Feuerwehr The data source for the [Aufgabe] select control should be loaded from the relative URL: "/AufgabeService/aufgabe" (HTTP-GET) The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing FeuerwehrAufgabe entity should be loaded from the relative URL: "/AufgabeService/feuerwehraufgabe/{id}" (HTTP-GET) If a new FeuerwehrAufgabe entity has been created, the new entity should be posted to the relative URL: "/AufgabeService/feuerwehraufgabe" (HTTP-POST) If an existing FeuerwehrAufgabe entity has been updated, the modified entity should be sent to the relative URL: "/AufgabeService/feuerwehraufgabe/{id}" (HTTP-PUT) If an existing FeuerwehrAufgabe entity has to be deleted, the following relative URL should be called: "/AufgabeService/feuerwehraufgabe/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum