Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WohnungApp
Please create a React-JS application for the WohnungModule. The application has to offer the following views for the user interface: 1. FoerderprogrammView 2. WohnungView 3. WohnungsanpassungView 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 FoerderprogrammView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: INT - name: Institution type: STRING - name: Land type: STRING - name: Name type: STRING - name: Startjahr type: INT An existing Foerderprogramm entity should be loaded from the relative URL: "/WohnungService/foerderprogramm/{id}" (HTTP-GET) If a new Foerderprogramm entity has been created, the new entity should be posted to the relative URL: "/WohnungService/foerderprogramm" (HTTP-POST) If an existing Foerderprogramm entity has been updated, the modified entity should be sent to the relative URL: "/WohnungService/foerderprogramm/{id}" (HTTP-PUT) If an existing Foerderprogramm entity has to be deleted, the following relative URL should be called: "/WohnungService/foerderprogramm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wohnungsanpassung columns: - column: Anpassungsdatum - column: Foerderprogramm - column: Wohnung - column: Anpassungsart - column: Beschreibung The table should have the title "Wohnungsanpassungs" und the data must be loaded from the server with the following relative URL: "/WohnungService/wohnungsanpassung/foerderprogramm/{id}" 2. The WohnungView must contain the following fields: - name: Beschreibung type: STRING - name: Etage type: STRING - name: FlaecheQm type: STRING - name: IstBarrierefrei type: BOOL - name: IstEigentum type: BOOL - name: IstMietobjekt type: BOOL - name: IstRollstuhlgerecht type: BOOL - name: Wohnanlage type: Wohnanlage - name: Wohnungsnummer type: STRING The data source for the [Wohnanlage] select control should be loaded from the relative URL: "/TraegerorganisationService/wohnanlage" (HTTP-GET) An existing Wohnung entity should be loaded from the relative URL: "/WohnungService/wohnung/{id}" (HTTP-GET) If a new Wohnung entity has been created, the new entity should be posted to the relative URL: "/WohnungService/wohnung" (HTTP-POST) If an existing Wohnung entity has been updated, the modified entity should be sent to the relative URL: "/WohnungService/wohnung/{id}" (HTTP-PUT) If an existing Wohnung entity has to be deleted, the following relative URL should be called: "/WohnungService/wohnung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Vertrag columns: - column: Vertragstyp - column: Traegerorganisation - column: Enddatum - column: Wohnung - column: Bewohner - column: Wohnform - column: Startdatum - column: Notizen The table should have the title "Vertrags" und the data must be loaded from the server with the following relative URL: "/TraegerorganisationService/vertrag/wohnung/{id}" Add a HTML table to the view with the following Wohnungsanpassung columns: - column: Anpassungsdatum - column: Foerderprogramm - column: Wohnung - column: Anpassungsart - column: Beschreibung The table should have the title "Wohnungsanpassungs" und the data must be loaded from the server with the following relative URL: "/WohnungService/wohnungsanpassung/wohnung/{id}" 3. The WohnungsanpassungView must contain the following fields: - name: Anpassungsart type: STRING - name: Anpassungsdatum type: DATE - name: Beschreibung type: STRING - name: Foerderprogramm type: Foerderprogramm - name: Wohnung type: Wohnung The data source for the [Foerderprogramm] select control should be loaded from the relative URL: "/WohnungService/foerderprogramm" (HTTP-GET) The data source for the [Wohnung] select control should be loaded from the relative URL: "/WohnungService/wohnung" (HTTP-GET) An existing Wohnungsanpassung entity should be loaded from the relative URL: "/WohnungService/wohnungsanpassung/{id}" (HTTP-GET) If a new Wohnungsanpassung entity has been created, the new entity should be posted to the relative URL: "/WohnungService/wohnungsanpassung" (HTTP-POST) If an existing Wohnungsanpassung entity has been updated, the modified entity should be sent to the relative URL: "/WohnungService/wohnungsanpassung/{id}" (HTTP-PUT) If an existing Wohnungsanpassung entity has to be deleted, the following relative URL should be called: "/WohnungService/wohnungsanpassung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum