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. KursterminView 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 KursterminView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: Kurs type: Kurs - name: Ortsbeschreibung type: STRING The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) An existing Kurstermin entity should be loaded from the relative URL: "/PruefungService/kurstermin/{id}" (HTTP-GET) If a new Kurstermin entity has been created, the new entity should be posted to the relative URL: "/PruefungService/kurstermin" (HTTP-POST) If an existing Kurstermin entity has been updated, the modified entity should be sent to the relative URL: "/PruefungService/kurstermin/{id}" (HTTP-PUT) If an existing Kurstermin entity has to be deleted, the following relative URL should be called: "/PruefungService/kurstermin/{id}" (HTTP-DELETE) 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