Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchutzpatronApp
Please create a React-JS application for the SchutzpatronModule. The application has to offer the following views for the user interface: 1. FeuerwehrSchutzpatronView 2. JugendMitgliedView 3. SchutzpatronView 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 FeuerwehrSchutzpatronView must contain the following fields: - name: Feuerwehr type: Feuerwehr - name: Schutzpatron type: Schutzpatron The data source for the [Schutzpatron] select control should be loaded from the relative URL: "/SchutzpatronService/schutzpatron" (HTTP-GET) The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing FeuerwehrSchutzpatron entity should be loaded from the relative URL: "/SchutzpatronService/feuerwehrschutzpatron/{id}" (HTTP-GET) If a new FeuerwehrSchutzpatron entity has been created, the new entity should be posted to the relative URL: "/SchutzpatronService/feuerwehrschutzpatron" (HTTP-POST) If an existing FeuerwehrSchutzpatron entity has been updated, the modified entity should be sent to the relative URL: "/SchutzpatronService/feuerwehrschutzpatron/{id}" (HTTP-PUT) If an existing FeuerwehrSchutzpatron entity has to be deleted, the following relative URL should be called: "/SchutzpatronService/feuerwehrschutzpatron/{id}" (HTTP-DELETE) 2. 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: "/SchutzpatronService/jugendmitglied/{id}" (HTTP-GET) If a new JugendMitglied entity has been created, the new entity should be posted to the relative URL: "/SchutzpatronService/jugendmitglied" (HTTP-POST) If an existing JugendMitglied entity has been updated, the modified entity should be sent to the relative URL: "/SchutzpatronService/jugendmitglied/{id}" (HTTP-PUT) If an existing JugendMitglied entity has to be deleted, the following relative URL should be called: "/SchutzpatronService/jugendmitglied/{id}" (HTTP-DELETE) 3. The SchutzpatronView must contain the following fields: - name: Beschreibung type: STRING - name: Gedenktag type: DATE - name: Name type: STRING - name: Region type: STRING An existing Schutzpatron entity should be loaded from the relative URL: "/SchutzpatronService/schutzpatron/{id}" (HTTP-GET) If a new Schutzpatron entity has been created, the new entity should be posted to the relative URL: "/SchutzpatronService/schutzpatron" (HTTP-POST) If an existing Schutzpatron entity has been updated, the modified entity should be sent to the relative URL: "/SchutzpatronService/schutzpatron/{id}" (HTTP-PUT) If an existing Schutzpatron entity has to be deleted, the following relative URL should be called: "/SchutzpatronService/schutzpatron/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FeuerwehrSchutzpatron columns: - column: Schutzpatron - column: Feuerwehr The table should have the title "FeuerwehrSchutzpatrons" und the data must be loaded from the server with the following relative URL: "/SchutzpatronService/feuerwehrschutzpatron/schutzpatron/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum