Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrlehrerApp
Please create a React-JS application for the FahrlehrerModule. The application has to offer the following views for the user interface: 1. BeschaeftigungView 2. FahrlehrerView 3. StatistikView 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 BeschaeftigungView must contain the following fields: - name: Beschaeftigungsart type: STRING - name: EndDatum type: DATE - name: Fahrlehrer type: Fahrlehrer - name: Fahrschule type: Fahrschule - name: StartDatum type: DATE The data source for the [Fahrlehrer] select control should be loaded from the relative URL: "/FahrlehrerService/fahrlehrer" (HTTP-GET) The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) An existing Beschaeftigung entity should be loaded from the relative URL: "/FahrlehrerService/beschaeftigung/{id}" (HTTP-GET) If a new Beschaeftigung entity has been created, the new entity should be posted to the relative URL: "/FahrlehrerService/beschaeftigung" (HTTP-POST) If an existing Beschaeftigung entity has been updated, the modified entity should be sent to the relative URL: "/FahrlehrerService/beschaeftigung/{id}" (HTTP-PUT) If an existing Beschaeftigung entity has to be deleted, the following relative URL should be called: "/FahrlehrerService/beschaeftigung/{id}" (HTTP-DELETE) 2. The FahrlehrerView must contain the following fields: - name: ErsterlaubnisDatum type: DATE - name: Hauptklasse type: LONG - name: IstAktiv type: BOOL - name: Person type: Person The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Fahrlehrer entity should be loaded from the relative URL: "/FahrlehrerService/fahrlehrer/{id}" (HTTP-GET) If a new Fahrlehrer entity has been created, the new entity should be posted to the relative URL: "/FahrlehrerService/fahrlehrer" (HTTP-POST) If an existing Fahrlehrer entity has been updated, the modified entity should be sent to the relative URL: "/FahrlehrerService/fahrlehrer/{id}" (HTTP-PUT) If an existing Fahrlehrer entity has to be deleted, the following relative URL should be called: "/FahrlehrerService/fahrlehrer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beschaeftigung columns: - column: EndDatum - column: Fahrlehrer - column: Fahrschule - column: StartDatum - column: Beschaeftigungsart The table should have the title "Beschaeftigungs" und the data must be loaded from the server with the following relative URL: "/FahrlehrerService/beschaeftigung/fahrlehrer/{id}" Add a HTML table to the view with the following TheorieUnterricht columns: - column: IstGrundstoff - column: Thema - column: UnterrichtsNummer - column: IstKlassenspezifisch - column: Unterrichtsart - column: FahrschuleZweigstelle - column: DatumZeit - column: Ausbildungsprogramm - column: Fahrlehrer - column: DauerMinuten The table should have the title "TheorieUnterrichts" und the data must be loaded from the server with the following relative URL: "/FahrschuleZweigstelleService/theorieunterricht/fahrlehrer/{id}" Add a HTML table to the view with the following Fahrlehrerlaubnis columns: - column: IstGesperrt - column: ErlaubnisNummer - column: Fuehrerscheinklasse - column: Aufsichtsbehoerde - column: Fahrlehrer - column: GueltigBis - column: ErteiltAm The table should have the title "Fahrlehrerlaubniss" und the data must be loaded from the server with the following relative URL: "/AufsichtsbehoerdeService/fahrlehrerlaubnis/fahrlehrer/{id}" Add a HTML table to the view with the following PraxisUnterricht columns: - column: FahrschuleZweigstelle - column: DatumZeit - column: IstNachtfahrt - column: DauerMinuten - column: IstSonderfahrt - column: IstLandstrassenfahrt - column: Fahrlehrer - column: Fahrzeug - column: Ausbildungsprogramm - column: Unterrichtsart - column: IstAutobahnfahrt The table should have the title "PraxisUnterrichts" und the data must be loaded from the server with the following relative URL: "/LandService/praxisunterricht/fahrlehrer/{id}" 3. The StatistikView must contain the following fields: - name: AnzahlBestandenPraxis type: INT - name: AnzahlBestandenTheorie type: INT - name: AnzahlFahrlehrer type: INT - name: AnzahlFahrschueler type: INT - name: AnzahlFahrschulen type: INT - name: AnzahlPraxispruefungen type: INT - name: AnzahlTheoriepruefungen type: INT - name: Land type: Land - name: Stichtag type: DATE The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Statistik entity should be loaded from the relative URL: "/FahrlehrerService/statistik/{id}" (HTTP-GET) If a new Statistik entity has been created, the new entity should be posted to the relative URL: "/FahrlehrerService/statistik" (HTTP-POST) If an existing Statistik entity has been updated, the modified entity should be sent to the relative URL: "/FahrlehrerService/statistik/{id}" (HTTP-PUT) If an existing Statistik entity has to be deleted, the following relative URL should be called: "/FahrlehrerService/statistik/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum