Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchuelerApp
Please create a React-JS application for the SchuelerModule. The application has to offer the following views for the user interface: 1. HaushaltView 2. NachhilfeVertragView 3. NachhilfeZentrumView 4. SchuelerView 5. SchuelerHaushaltView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The HaushaltView must contain the following fields: - name: Bildungsniveau type: STRING - name: Einkommensniveau type: STRING - name: Land type: Land - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Haushalt entity should be loaded from the relative URL: "/SchuelerService/haushalt/{id}" (HTTP-GET) If a new Haushalt entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/haushalt" (HTTP-POST) If an existing Haushalt entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/haushalt/{id}" (HTTP-PUT) If an existing Haushalt entity has to be deleted, the following relative URL should be called: "/SchuelerService/haushalt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchuelerHaushalt columns: - column: VonDatum - column: BisDatum - column: Haushalt - column: Schueler The table should have the title "SchuelerHaushalts" und the data must be loaded from the server with the following relative URL: "/SchuelerService/schuelerhaushalt/haushalt/{id}" 2. The NachhilfeVertragView must contain the following fields: - name: Anmeldegebuehr type: STRING - name: EndDatum type: DATE - name: Foerderart type: STRING - name: MindestlaufzeitMonate type: LONG - name: Monatsgebuehr type: STRING - name: Nachhilfeanbieter type: Nachhilfeanbieter - name: NachhilfeZentrum type: NachhilfeZentrum - name: Schueler type: Schueler - name: StartDatum type: DATE The data source for the [Nachhilfeanbieter] select control should be loaded from the relative URL: "/NachhilfeanbieterService/nachhilfeanbieter" (HTTP-GET) The data source for the [Schueler] select control should be loaded from the relative URL: "/SchuelerService/schueler" (HTTP-GET) The data source for the [NachhilfeZentrum] select control should be loaded from the relative URL: "/SchuelerService/nachhilfezentrum" (HTTP-GET) An existing NachhilfeVertrag entity should be loaded from the relative URL: "/SchuelerService/nachhilfevertrag/{id}" (HTTP-GET) If a new NachhilfeVertrag entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/nachhilfevertrag" (HTTP-POST) If an existing NachhilfeVertrag entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/nachhilfevertrag/{id}" (HTTP-PUT) If an existing NachhilfeVertrag entity has to be deleted, the following relative URL should be called: "/SchuelerService/nachhilfevertrag/{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/nachhilfevertrag/{id}" 3. The NachhilfeZentrumView must contain the following fields: - name: Adresse type: STRING - name: IstFranchiseStandort type: BOOL - name: Nachhilfeanbieter type: Nachhilfeanbieter - name: Stadt type: STRING The data source for the [Nachhilfeanbieter] select control should be loaded from the relative URL: "/NachhilfeanbieterService/nachhilfeanbieter" (HTTP-GET) An existing NachhilfeZentrum entity should be loaded from the relative URL: "/SchuelerService/nachhilfezentrum/{id}" (HTTP-GET) If a new NachhilfeZentrum entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/nachhilfezentrum" (HTTP-POST) If an existing NachhilfeZentrum entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/nachhilfezentrum/{id}" (HTTP-PUT) If an existing NachhilfeZentrum entity has to be deleted, the following relative URL should be called: "/SchuelerService/nachhilfezentrum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following NachhilfeVertrag columns: - column: Nachhilfeanbieter - column: StartDatum - column: Schueler - column: EndDatum - column: Foerderart - column: MindestlaufzeitMonate - column: NachhilfeZentrum - column: Anmeldegebuehr - column: Monatsgebuehr The table should have the title "NachhilfeVertrags" und the data must be loaded from the server with the following relative URL: "/SchuelerService/nachhilfevertrag/nachhilfezentrum/{id}" 4. The SchuelerView must contain the following fields: - name: ElternBildungsniveau type: STRING - name: Geschlecht type: STRING - name: HatMigrationshintergrund type: BOOL - name: HaushaltEinkommen type: STRING - name: Klassenstufe type: LONG - name: Land type: Land - name: Region type: Region - name: Schulform type: STRING The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Schueler entity should be loaded from the relative URL: "/SchuelerService/schueler/{id}" (HTTP-GET) If a new Schueler entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/schueler" (HTTP-POST) If an existing Schueler entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/schueler/{id}" (HTTP-PUT) If an existing Schueler entity has to be deleted, the following relative URL should be called: "/SchuelerService/schueler/{id}" (HTTP-DELETE) Add a HTML table to the view with the following NachhilfeVertrag columns: - column: Nachhilfeanbieter - column: StartDatum - column: Schueler - column: EndDatum - column: Foerderart - column: MindestlaufzeitMonate - column: NachhilfeZentrum - column: Anmeldegebuehr - column: Monatsgebuehr The table should have the title "NachhilfeVertrags" und the data must be loaded from the server with the following relative URL: "/SchuelerService/nachhilfevertrag/schueler/{id}" Add a HTML table to the view with the following SchuelerHaushalt columns: - column: VonDatum - column: BisDatum - column: Haushalt - column: Schueler The table should have the title "SchuelerHaushalts" und the data must be loaded from the server with the following relative URL: "/SchuelerService/schuelerhaushalt/schueler/{id}" 5. The SchuelerHaushaltView must contain the following fields: - name: BisDatum type: DATE - name: Haushalt type: Haushalt - name: Schueler type: Schueler - name: VonDatum type: DATE The data source for the [Schueler] select control should be loaded from the relative URL: "/SchuelerService/schueler" (HTTP-GET) The data source for the [Haushalt] select control should be loaded from the relative URL: "/SchuelerService/haushalt" (HTTP-GET) An existing SchuelerHaushalt entity should be loaded from the relative URL: "/SchuelerService/schuelerhaushalt/{id}" (HTTP-GET) If a new SchuelerHaushalt entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/schuelerhaushalt" (HTTP-POST) If an existing SchuelerHaushalt entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/schuelerhaushalt/{id}" (HTTP-PUT) If an existing SchuelerHaushalt entity has to be deleted, the following relative URL should be called: "/SchuelerService/schuelerhaushalt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum