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. FeuerwehrAufgabeView 3. JugendMitgliedView 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 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 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) 3. The JugendMitgliedView must contain the following fields: - name: Austritt type: DATE - name: Eintritt type: DATE - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: JugendEinheit type: JugendEinheit - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [JugendEinheit] select control should be loaded from the relative URL: "/FeuerwehrService/jugendeinheit" (HTTP-GET) An existing JugendMitglied entity should be loaded from the relative URL: "/AufgabeService/jugendmitglied/{id}" (HTTP-GET) If a new JugendMitglied entity has been created, the new entity should be posted to the relative URL: "/AufgabeService/jugendmitglied" (HTTP-POST) If an existing JugendMitglied entity has been updated, the modified entity should be sent to the relative URL: "/AufgabeService/jugendmitglied/{id}" (HTTP-PUT) If an existing JugendMitglied entity has to be deleted, the following relative URL should be called: "/AufgabeService/jugendmitglied/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum