Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegionApp
Please create a React-JS application for the RegionModule. The application has to offer the following views for the user interface: 1. ElternView 2. RegionView 3. SchuleView 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 ElternView 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 Eltern entity should be loaded from the relative URL: "/RegionService/eltern/{id}" (HTTP-GET) If a new Eltern entity has been created, the new entity should be posted to the relative URL: "/RegionService/eltern" (HTTP-POST) If an existing Eltern entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/eltern/{id}" (HTTP-PUT) If an existing Eltern entity has to be deleted, the following relative URL should be called: "/RegionService/eltern/{id}" (HTTP-DELETE) 2. The RegionView must contain the following fields: - name: IstWestdeutsch type: BOOL - name: Land type: Land - name: Name type: STRING - name: RegionTyp type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/RegionService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/RegionService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/RegionService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Eltern columns: - column: Region - column: Land - column: Einkommensniveau - column: Bildungsniveau The table should have the title "Elterns" und the data must be loaded from the server with the following relative URL: "/RegionService/eltern/region/{id}" Add a HTML table to the view with the following Schule columns: - column: IstOeffentlich - column: Land - column: Region - column: Name - column: Schulform The table should have the title "Schules" und the data must be loaded from the server with the following relative URL: "/RegionService/schule/region/{id}" Add a HTML table to the view with the following Nachhilfeanbieter columns: - column: IstGemeinnuetzig - column: IstFranchiseSystem - column: Land - column: IstOnline - column: Region - column: IstZertifiziert - column: Name - column: AnbieterTyp The table should have the title "Nachhilfeanbieters" und the data must be loaded from the server with the following relative URL: "/NachhilfeanbieterService/nachhilfeanbieter/region/{id}" Add a HTML table to the view with the following Haushalt columns: - column: Region - column: Land - column: Einkommensniveau - column: Bildungsniveau The table should have the title "Haushalts" und the data must be loaded from the server with the following relative URL: "/SchuelerService/haushalt/region/{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/region/{id}" Add a HTML table to the view with the following Schueler columns: - column: Klassenstufe - column: Region - column: Schulform - column: HaushaltEinkommen - column: ElternBildungsniveau - column: Land - column: Geschlecht - column: HatMigrationshintergrund The table should have the title "Schuelers" und the data must be loaded from the server with the following relative URL: "/SchuelerService/schueler/region/{id}" 3. The SchuleView must contain the following fields: - name: IstOeffentlich type: BOOL - name: Land type: Land - name: Name type: STRING - 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 Schule entity should be loaded from the relative URL: "/RegionService/schule/{id}" (HTTP-GET) If a new Schule entity has been created, the new entity should be posted to the relative URL: "/RegionService/schule" (HTTP-POST) If an existing Schule entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/schule/{id}" (HTTP-PUT) If an existing Schule entity has to be deleted, the following relative URL should be called: "/RegionService/schule/{id}" (HTTP-DELETE) Add a HTML table to the view with the following NachhilfeAngebot columns: - column: Beschreibung - column: RisikoOrganisation - column: Schule - column: Nachhilfeanbieter - column: IstSommerprogramm - column: IstKostenlos - column: IstHausaufgabenhilfe - column: VermittlungsKanal The table should have the title "NachhilfeAngebots" und the data must be loaded from the server with the following relative URL: "/NachhilfeanbieterService/nachhilfeangebot/schule/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum