Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PraxisUnterrichtApp
Please create a React-JS application for the PraxisUnterrichtModule. The application has to offer the following views for the user interface: 1. FahrzeugView 2. FahrzeugtypView 3. PraxisUnterrichtView 4. TeilnahmeView 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 FahrzeugView must contain the following fields: - name: Baujahr type: INT - name: BreiteM type: STRING - name: Fahrschule type: Fahrschule - name: Fahrzeugtyp type: Fahrzeugtyp - name: Fuehrerscheinklasse type: Fuehrerscheinklasse - name: HatDoppelpedale type: BOOL - name: HatZusatzspiegel type: BOOL - name: Hersteller type: STRING - name: IstPruefungsfahrzeug type: BOOL - name: IstSimulator type: BOOL - name: Kennzeichen type: STRING - name: LaengeM type: STRING - name: MaxMasseKg type: INT - name: Modell type: STRING The data source for the [Fahrzeugtyp] select control should be loaded from the relative URL: "/PraxisUnterrichtService/fahrzeugtyp" (HTTP-GET) The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) The data source for the [Fuehrerscheinklasse] select control should be loaded from the relative URL: "/FuehrerscheinklasseService/fuehrerscheinklasse" (HTTP-GET) An existing Fahrzeug entity should be loaded from the relative URL: "/PraxisUnterrichtService/fahrzeug/{id}" (HTTP-GET) If a new Fahrzeug entity has been created, the new entity should be posted to the relative URL: "/PraxisUnterrichtService/fahrzeug" (HTTP-POST) If an existing Fahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/PraxisUnterrichtService/fahrzeug/{id}" (HTTP-PUT) If an existing Fahrzeug entity has to be deleted, the following relative URL should be called: "/PraxisUnterrichtService/fahrzeug/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PraxisUnterricht columns: - column: FahrschuleZweigstelle - column: DatumZeit - column: Fahrlehrer - column: IstNachtfahrt - column: IstAutobahnfahrt - column: Fahrzeug - column: IstLandstrassenfahrt - column: DauerMinuten - column: IstSonderfahrt - column: Unterrichtsart - column: Ausbildungsprogramm The table should have the title "PraxisUnterrichts" und the data must be loaded from the server with the following relative URL: "/PraxisUnterrichtService/praxisunterricht/fahrzeug/{id}" 2. The FahrzeugtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Fahrzeugtyp entity should be loaded from the relative URL: "/PraxisUnterrichtService/fahrzeugtyp/{id}" (HTTP-GET) If a new Fahrzeugtyp entity has been created, the new entity should be posted to the relative URL: "/PraxisUnterrichtService/fahrzeugtyp" (HTTP-POST) If an existing Fahrzeugtyp entity has been updated, the modified entity should be sent to the relative URL: "/PraxisUnterrichtService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing Fahrzeugtyp entity has to be deleted, the following relative URL should be called: "/PraxisUnterrichtService/fahrzeugtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrzeug columns: - column: HatDoppelpedale - column: Kennzeichen - column: MaxMasseKg - column: Hersteller - column: Baujahr - column: Modell - column: Fuehrerscheinklasse - column: IstPruefungsfahrzeug - column: Fahrzeugtyp - column: HatZusatzspiegel - column: Fahrschule - column: IstSimulator - column: LaengeM - column: BreiteM The table should have the title "Fahrzeugs" und the data must be loaded from the server with the following relative URL: "/PraxisUnterrichtService/fahrzeug/fahrzeugtyp/{id}" 3. The PraxisUnterrichtView must contain the following fields: - name: Ausbildungsprogramm type: Ausbildungsprogramm - name: DatumZeit type: DATE - name: DauerMinuten type: INT - name: Fahrlehrer type: Fahrlehrer - name: FahrschuleZweigstelle type: FahrschuleZweigstelle - name: Fahrzeug type: Fahrzeug - name: IstAutobahnfahrt type: BOOL - name: IstLandstrassenfahrt type: BOOL - name: IstNachtfahrt type: BOOL - name: IstSonderfahrt type: BOOL - name: Unterrichtsart type: Unterrichtsart The data source for the [FahrschuleZweigstelle] select control should be loaded from the relative URL: "/AufsichtsbehoerdeService/fahrschulezweigstelle" (HTTP-GET) The data source for the [Fahrzeug] select control should be loaded from the relative URL: "/PraxisUnterrichtService/fahrzeug" (HTTP-GET) The data source for the [Fahrlehrer] select control should be loaded from the relative URL: "/FahrschuleService/fahrlehrer" (HTTP-GET) The data source for the [Ausbildungsprogramm] select control should be loaded from the relative URL: "/LandService/ausbildungsprogramm" (HTTP-GET) The data source for the [Unterrichtsart] select control should be loaded from the relative URL: "/LandService/unterrichtsart" (HTTP-GET) An existing PraxisUnterricht entity should be loaded from the relative URL: "/PraxisUnterrichtService/praxisunterricht/{id}" (HTTP-GET) If a new PraxisUnterricht entity has been created, the new entity should be posted to the relative URL: "/PraxisUnterrichtService/praxisunterricht" (HTTP-POST) If an existing PraxisUnterricht entity has been updated, the modified entity should be sent to the relative URL: "/PraxisUnterrichtService/praxisunterricht/{id}" (HTTP-PUT) If an existing PraxisUnterricht entity has to be deleted, the following relative URL should be called: "/PraxisUnterrichtService/praxisunterricht/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Teilnahme columns: - column: PraxisUnterricht - column: Anmeldung - column: Bewertung - column: TheorieUnterricht - column: Anwesenheit The table should have the title "Teilnahmes" und the data must be loaded from the server with the following relative URL: "/PraxisUnterrichtService/teilnahme/praxisunterricht/{id}" 4. The TeilnahmeView must contain the following fields: - name: Anmeldung type: Anmeldung - name: Anwesenheit type: STRING - name: Bewertung type: STRING - name: PraxisUnterricht type: PraxisUnterricht - name: TheorieUnterricht type: TheorieUnterricht The data source for the [Anmeldung] select control should be loaded from the relative URL: "/FahrschuleService/anmeldung" (HTTP-GET) The data source for the [TheorieUnterricht] select control should be loaded from the relative URL: "/LandService/theorieunterricht" (HTTP-GET) The data source for the [PraxisUnterricht] select control should be loaded from the relative URL: "/PraxisUnterrichtService/praxisunterricht" (HTTP-GET) An existing Teilnahme entity should be loaded from the relative URL: "/PraxisUnterrichtService/teilnahme/{id}" (HTTP-GET) If a new Teilnahme entity has been created, the new entity should be posted to the relative URL: "/PraxisUnterrichtService/teilnahme" (HTTP-POST) If an existing Teilnahme entity has been updated, the modified entity should be sent to the relative URL: "/PraxisUnterrichtService/teilnahme/{id}" (HTTP-PUT) If an existing Teilnahme entity has to be deleted, the following relative URL should be called: "/PraxisUnterrichtService/teilnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum