Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KommuneApp
Please create a React-JS application for the KommuneModule. The application has to offer the following views for the user interface: 1. ElternbeitragView 2. HaushaltView 3. KommuneView 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 ElternbeitragView must contain the following fields: - name: Betrag type: STRING - name: Betreuungsverhaeltnis type: Betreuungsverhaeltnis - name: BisDatum type: DATE - name: Haushalt type: Haushalt - name: IstEinkommensabhaengig type: BOOL - name: VonDatum type: DATE - name: Waehrung type: STRING - name: ZahlerTyp type: STRING The data source for the [Betreuungsverhaeltnis] select control should be loaded from the relative URL: "/KindService/betreuungsverhaeltnis" (HTTP-GET) The data source for the [Haushalt] select control should be loaded from the relative URL: "/KommuneService/haushalt" (HTTP-GET) An existing Elternbeitrag entity should be loaded from the relative URL: "/KommuneService/elternbeitrag/{id}" (HTTP-GET) If a new Elternbeitrag entity has been created, the new entity should be posted to the relative URL: "/KommuneService/elternbeitrag" (HTTP-POST) If an existing Elternbeitrag entity has been updated, the modified entity should be sent to the relative URL: "/KommuneService/elternbeitrag/{id}" (HTTP-PUT) If an existing Elternbeitrag entity has to be deleted, the following relative URL should be called: "/KommuneService/elternbeitrag/{id}" (HTTP-DELETE) 2. The HaushaltView must contain the following fields: - name: Adresse1 type: STRING - name: Adresse2 type: STRING - name: Bundesland type: Bundesland - name: Einkommensstufe type: STRING - name: Kommune type: Kommune - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Staat type: Staat The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) The data source for the [Staat] select control should be loaded from the relative URL: "/StaatService/staat" (HTTP-GET) The data source for the [Kommune] select control should be loaded from the relative URL: "/KommuneService/kommune" (HTTP-GET) An existing Haushalt entity should be loaded from the relative URL: "/KommuneService/haushalt/{id}" (HTTP-GET) If a new Haushalt entity has been created, the new entity should be posted to the relative URL: "/KommuneService/haushalt" (HTTP-POST) If an existing Haushalt entity has been updated, the modified entity should be sent to the relative URL: "/KommuneService/haushalt/{id}" (HTTP-PUT) If an existing Haushalt entity has to be deleted, the following relative URL should be called: "/KommuneService/haushalt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Elternteil columns: - column: Nachname - column: Email - column: Telefon - column: Vorname - column: HatSorgerecht - column: Haushalt The table should have the title "Elternteils" und the data must be loaded from the server with the following relative URL: "/ElternteilService/elternteil/haushalt/{id}" Add a HTML table to the view with the following Elternbeitrag columns: - column: ZahlerTyp - column: Betrag - column: Waehrung - column: IstEinkommensabhaengig - column: Haushalt - column: Betreuungsverhaeltnis - column: VonDatum - column: BisDatum The table should have the title "Elternbeitrags" und the data must be loaded from the server with the following relative URL: "/KommuneService/elternbeitrag/haushalt/{id}" 3. The KommuneView must contain the following fields: - name: Bundesland type: Bundesland - name: Name type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) An existing Kommune entity should be loaded from the relative URL: "/KommuneService/kommune/{id}" (HTTP-GET) If a new Kommune entity has been created, the new entity should be posted to the relative URL: "/KommuneService/kommune" (HTTP-POST) If an existing Kommune entity has been updated, the modified entity should be sent to the relative URL: "/KommuneService/kommune/{id}" (HTTP-PUT) If an existing Kommune entity has to be deleted, the following relative URL should be called: "/KommuneService/kommune/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tagespflegeperson columns: - column: Geschlecht - column: IstInGrossTagespflege - column: AktivVon - column: IstPaedFachkraft - column: MaxKinder - column: AktivBis - column: IstOeffentlichGefoerdert - column: Nachname - column: HatPflegeerlaubnis - column: PflegeerlaubnisBis - column: PflegeerlaubnisVon - column: Jugendamt - column: Staat - column: Vorname - column: Bundesland - column: Kommune The table should have the title "Tagespflegepersons" und the data must be loaded from the server with the following relative URL: "/TagespflegepersonService/tagespflegeperson/kommune/{id}" Add a HTML table to the view with the following Jugendamt columns: - column: Telefon - column: Typ - column: Name - column: Kommune - column: Email The table should have the title "Jugendamts" und the data must be loaded from the server with the following relative URL: "/JugendamtService/jugendamt/kommune/{id}" Add a HTML table to the view with the following Kind columns: - column: Nachname - column: Vorname - column: Geburtsdatum - column: Kommune - column: Staat - column: Geschlecht - column: Bundesland The table should have the title "Kinds" und the data must be loaded from the server with the following relative URL: "/KindService/kind/kommune/{id}" Add a HTML table to the view with the following Raum columns: - column: IstPrivatwohnung - column: Bundesland - column: Postleitzahl - column: IstGemietet - column: IstAbgenommen - column: Adresse2 - column: Staat - column: Adresse1 - column: Kapazitaet - column: IstElternwohnung - column: Ort - column: Kommune The table should have the title "Raums" und the data must be loaded from the server with the following relative URL: "/JugendamtService/raum/kommune/{id}" Add a HTML table to the view with the following Haushalt columns: - column: Postleitzahl - column: Einkommensstufe - column: Adresse1 - column: Ort - column: Adresse2 - column: Bundesland - column: Kommune - column: Staat The table should have the title "Haushalts" und the data must be loaded from the server with the following relative URL: "/KommuneService/haushalt/kommune/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum