Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SportDisziplinApp
Please create a React-JS application for the SportDisziplinModule. The application has to offer the following views for the user interface: 1. FeuerwehrSportAktivitaetView 2. FinanzierungsquelleView 3. 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 3 views are defined below. 1. 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: "/SportDisziplinService/sportdisziplin" (HTTP-GET) An existing FeuerwehrSportAktivitaet entity should be loaded from the relative URL: "/SportDisziplinService/feuerwehrsportaktivitaet/{id}" (HTTP-GET) If a new FeuerwehrSportAktivitaet entity has been created, the new entity should be posted to the relative URL: "/SportDisziplinService/feuerwehrsportaktivitaet" (HTTP-POST) If an existing FeuerwehrSportAktivitaet entity has been updated, the modified entity should be sent to the relative URL: "/SportDisziplinService/feuerwehrsportaktivitaet/{id}" (HTTP-PUT) If an existing FeuerwehrSportAktivitaet entity has to be deleted, the following relative URL should be called: "/SportDisziplinService/feuerwehrsportaktivitaet/{id}" (HTTP-DELETE) 2. The FinanzierungsquelleView must contain the following fields: - name: Beschreibung type: STRING - name: Feuerwehr type: Feuerwehr - name: Jahresbetrag type: STRING - name: QuelleArt type: STRING The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing Finanzierungsquelle entity should be loaded from the relative URL: "/SportDisziplinService/finanzierungsquelle/{id}" (HTTP-GET) If a new Finanzierungsquelle entity has been created, the new entity should be posted to the relative URL: "/SportDisziplinService/finanzierungsquelle" (HTTP-POST) If an existing Finanzierungsquelle entity has been updated, the modified entity should be sent to the relative URL: "/SportDisziplinService/finanzierungsquelle/{id}" (HTTP-PUT) If an existing Finanzierungsquelle entity has to be deleted, the following relative URL should be called: "/SportDisziplinService/finanzierungsquelle/{id}" (HTTP-DELETE) 3. 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: "/SportDisziplinService/sportdisziplin/{id}" (HTTP-GET) If a new SportDisziplin entity has been created, the new entity should be posted to the relative URL: "/SportDisziplinService/sportdisziplin" (HTTP-POST) If an existing SportDisziplin entity has been updated, the modified entity should be sent to the relative URL: "/SportDisziplinService/sportdisziplin/{id}" (HTTP-PUT) If an existing SportDisziplin entity has to be deleted, the following relative URL should be called: "/SportDisziplinService/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: "/SportDisziplinService/feuerwehrsportaktivitaet/sportdisziplin/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum