Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PruefungApp
Please create a React-JS application for the PruefungModule. The application has to offer the following views for the user interface: 1. HundesportartView 2. PruefungView 3. PruefungsteilnahmeView 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 HundesportartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Hundesportart entity should be loaded from the relative URL: "/PruefungService/hundesportart/{id}" (HTTP-GET) If a new Hundesportart entity has been created, the new entity should be posted to the relative URL: "/PruefungService/hundesportart" (HTTP-POST) If an existing Hundesportart entity has been updated, the modified entity should be sent to the relative URL: "/PruefungService/hundesportart/{id}" (HTTP-PUT) If an existing Hundesportart entity has to be deleted, the following relative URL should be called: "/PruefungService/hundesportart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HundHundesport columns: - column: Hund - column: Hundesportart - column: Leistungsstufe - column: IstWettkampfteilnehmer The table should have the title "HundHundesports" und the data must be loaded from the server with the following relative URL: "/HundService/hundhundesport/hundesportart/{id}" 2. The PruefungView must contain the following fields: - name: Beschreibung type: STRING - name: DauerMinuten type: INT - name: HatPraxisTeil type: BOOL - name: HatTheorieTeil type: BOOL - name: Name type: STRING - name: Zertifizierungsstelle type: Zertifizierungsstelle The data source for the [Zertifizierungsstelle] select control should be loaded from the relative URL: "/ZertifizierungsstelleService/zertifizierungsstelle" (HTTP-GET) An existing Pruefung entity should be loaded from the relative URL: "/PruefungService/pruefung/{id}" (HTTP-GET) If a new Pruefung entity has been created, the new entity should be posted to the relative URL: "/PruefungService/pruefung" (HTTP-POST) If an existing Pruefung entity has been updated, the modified entity should be sent to the relative URL: "/PruefungService/pruefung/{id}" (HTTP-PUT) If an existing Pruefung entity has to be deleted, the following relative URL should be called: "/PruefungService/pruefung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefungsteilnahme columns: - column: Punktzahl - column: Hundetrainer - column: Datum - column: Ergebnis - column: Pruefung The table should have the title "Pruefungsteilnahmes" und the data must be loaded from the server with the following relative URL: "/PruefungService/pruefungsteilnahme/pruefung/{id}" 3. The PruefungsteilnahmeView must contain the following fields: - name: Datum type: DATE - name: Ergebnis type: STRING - name: Hundetrainer type: Hundetrainer - name: Pruefung type: Pruefung - name: Punktzahl type: STRING The data source for the [Pruefung] select control should be loaded from the relative URL: "/PruefungService/pruefung" (HTTP-GET) The data source for the [Hundetrainer] select control should be loaded from the relative URL: "/KursService/hundetrainer" (HTTP-GET) An existing Pruefungsteilnahme entity should be loaded from the relative URL: "/PruefungService/pruefungsteilnahme/{id}" (HTTP-GET) If a new Pruefungsteilnahme entity has been created, the new entity should be posted to the relative URL: "/PruefungService/pruefungsteilnahme" (HTTP-POST) If an existing Pruefungsteilnahme entity has been updated, the modified entity should be sent to the relative URL: "/PruefungService/pruefungsteilnahme/{id}" (HTTP-PUT) If an existing Pruefungsteilnahme entity has to be deleted, the following relative URL should be called: "/PruefungService/pruefungsteilnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum