Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FeuerwehrArtApp
Please create a React-JS application for the FeuerwehrArtModule. The application has to offer the following views for the user interface: 1. FeuerwacheView 2. FeuerwehrArtView 3. FeuerwehrSportAktivitaetView 4. SportDisziplinView 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 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: "/FeuerwehrArtService/feuerwache/{id}" (HTTP-GET) If a new Feuerwache entity has been created, the new entity should be posted to the relative URL: "/FeuerwehrArtService/feuerwache" (HTTP-POST) If an existing Feuerwache entity has been updated, the modified entity should be sent to the relative URL: "/FeuerwehrArtService/feuerwache/{id}" (HTTP-PUT) If an existing Feuerwache entity has to be deleted, the following relative URL should be called: "/FeuerwehrArtService/feuerwache/{id}" (HTTP-DELETE) 2. 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: "/FeuerwehrArtService/feuerwehrart/{id}" (HTTP-GET) If a new FeuerwehrArt entity has been created, the new entity should be posted to the relative URL: "/FeuerwehrArtService/feuerwehrart" (HTTP-POST) If an existing FeuerwehrArt entity has been updated, the modified entity should be sent to the relative URL: "/FeuerwehrArtService/feuerwehrart/{id}" (HTTP-PUT) If an existing FeuerwehrArt entity has to be deleted, the following relative URL should be called: "/FeuerwehrArtService/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}" 3. The FeuerwehrSportAktivitaetView must contain the following fields: - name: Beschreibung type: STRING - name: Feuerwehr type: Feuerwehr - name: SportDisziplin type: SportDisziplin The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) The data source for the [SportDisziplin] select control should be loaded from the relative URL: "/FeuerwehrArtService/sportdisziplin" (HTTP-GET) An existing FeuerwehrSportAktivitaet entity should be loaded from the relative URL: "/FeuerwehrArtService/feuerwehrsportaktivitaet/{id}" (HTTP-GET) If a new FeuerwehrSportAktivitaet entity has been created, the new entity should be posted to the relative URL: "/FeuerwehrArtService/feuerwehrsportaktivitaet" (HTTP-POST) If an existing FeuerwehrSportAktivitaet entity has been updated, the modified entity should be sent to the relative URL: "/FeuerwehrArtService/feuerwehrsportaktivitaet/{id}" (HTTP-PUT) If an existing FeuerwehrSportAktivitaet entity has to be deleted, the following relative URL should be called: "/FeuerwehrArtService/feuerwehrsportaktivitaet/{id}" (HTTP-DELETE) 4. The SportDisziplinView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing SportDisziplin entity should be loaded from the relative URL: "/FeuerwehrArtService/sportdisziplin/{id}" (HTTP-GET) If a new SportDisziplin entity has been created, the new entity should be posted to the relative URL: "/FeuerwehrArtService/sportdisziplin" (HTTP-POST) If an existing SportDisziplin entity has been updated, the modified entity should be sent to the relative URL: "/FeuerwehrArtService/sportdisziplin/{id}" (HTTP-PUT) If an existing SportDisziplin entity has to be deleted, the following relative URL should be called: "/FeuerwehrArtService/sportdisziplin/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FeuerwehrSportAktivitaet columns: - column: SportDisziplin - column: Feuerwehr - column: Beschreibung The table should have the title "FeuerwehrSportAktivitaets" und the data must be loaded from the server with the following relative URL: "/FeuerwehrArtService/feuerwehrsportaktivitaet/sportdisziplin/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum