Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterrichtsformatApp
Please create a React-JS application for the UnterrichtsformatModule. The application has to offer the following views for the user interface: 1. PreisStudieEintragView 2. UnterrichtsformatView 3. UnterrichtsstundeView 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 PreisStudieEintragView must contain the following fields: - name: DauerMinuten type: LONG - name: MonatsPreis type: STRING - name: Notizen type: STRING - name: PreisStudie type: PreisStudie - name: Region type: Region - name: Unterrichtsformat type: Unterrichtsformat The data source for the [Unterrichtsformat] select control should be loaded from the relative URL: "/UnterrichtsformatService/unterrichtsformat" (HTTP-GET) The data source for the [PreisStudie] select control should be loaded from the relative URL: "/LandService/preisstudie" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing PreisStudieEintrag entity should be loaded from the relative URL: "/UnterrichtsformatService/preisstudieeintrag/{id}" (HTTP-GET) If a new PreisStudieEintrag entity has been created, the new entity should be posted to the relative URL: "/UnterrichtsformatService/preisstudieeintrag" (HTTP-POST) If an existing PreisStudieEintrag entity has been updated, the modified entity should be sent to the relative URL: "/UnterrichtsformatService/preisstudieeintrag/{id}" (HTTP-PUT) If an existing PreisStudieEintrag entity has to be deleted, the following relative URL should be called: "/UnterrichtsformatService/preisstudieeintrag/{id}" (HTTP-DELETE) 2. The UnterrichtsformatView must contain the following fields: - name: GruppengroesseMax type: LONG - name: GruppengroesseMin type: LONG - name: IstOnline type: BOOL - name: Name type: STRING An existing Unterrichtsformat entity should be loaded from the relative URL: "/UnterrichtsformatService/unterrichtsformat/{id}" (HTTP-GET) If a new Unterrichtsformat entity has been created, the new entity should be posted to the relative URL: "/UnterrichtsformatService/unterrichtsformat" (HTTP-POST) If an existing Unterrichtsformat entity has been updated, the modified entity should be sent to the relative URL: "/UnterrichtsformatService/unterrichtsformat/{id}" (HTTP-PUT) If an existing Unterrichtsformat entity has to be deleted, the following relative URL should be called: "/UnterrichtsformatService/unterrichtsformat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterrichtsstunde columns: - column: Ortsbeschreibung - column: NachhilfeVertrag - column: Fach - column: DauerMinuten - column: IstNachholstunde - column: Unterrichtsformat - column: Lehrkraft - column: GeplantAm The table should have the title "Unterrichtsstundes" und the data must be loaded from the server with the following relative URL: "/UnterrichtsformatService/unterrichtsstunde/unterrichtsformat/{id}" Add a HTML table to the view with the following PreisStudieEintrag columns: - column: DauerMinuten - column: Notizen - column: PreisStudie - column: Unterrichtsformat - column: MonatsPreis - column: Region The table should have the title "PreisStudieEintrags" und the data must be loaded from the server with the following relative URL: "/UnterrichtsformatService/preisstudieeintrag/unterrichtsformat/{id}" 3. The UnterrichtsstundeView must contain the following fields: - name: DauerMinuten type: LONG - name: Fach type: Fach - name: GeplantAm type: STRING - name: IstNachholstunde type: BOOL - name: Lehrkraft type: Lehrkraft - name: NachhilfeVertrag type: NachhilfeVertrag - name: Ortsbeschreibung type: STRING - name: Unterrichtsformat type: Unterrichtsformat The data source for the [Fach] select control should be loaded from the relative URL: "/LandService/fach" (HTTP-GET) The data source for the [Unterrichtsformat] select control should be loaded from the relative URL: "/UnterrichtsformatService/unterrichtsformat" (HTTP-GET) The data source for the [Lehrkraft] select control should be loaded from the relative URL: "/NachhilfeanbieterService/lehrkraft" (HTTP-GET) The data source for the [NachhilfeVertrag] select control should be loaded from the relative URL: "/SchuelerService/nachhilfevertrag" (HTTP-GET) An existing Unterrichtsstunde entity should be loaded from the relative URL: "/UnterrichtsformatService/unterrichtsstunde/{id}" (HTTP-GET) If a new Unterrichtsstunde entity has been created, the new entity should be posted to the relative URL: "/UnterrichtsformatService/unterrichtsstunde" (HTTP-POST) If an existing Unterrichtsstunde entity has been updated, the modified entity should be sent to the relative URL: "/UnterrichtsformatService/unterrichtsstunde/{id}" (HTTP-PUT) If an existing Unterrichtsstunde entity has to be deleted, the following relative URL should be called: "/UnterrichtsformatService/unterrichtsstunde/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum