Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinrichtungApp
Please create a React-JS application for the EinrichtungModule. The application has to offer the following views for the user interface: 1. BetreuterEinrichtungView 2. EinrichtungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The BetreuterEinrichtungView must contain the following fields: - name: Aufenthaltsart type: STRING - name: Betreuter type: Betreuter - name: BisDatum type: DATE - name: Einrichtung type: Einrichtung - name: Notizen type: STRING - name: VonDatum type: DATE The data source for the [Betreuter] select control should be loaded from the relative URL: "/BetreuterService/betreuter" (HTTP-GET) The data source for the [Einrichtung] select control should be loaded from the relative URL: "/EinrichtungService/einrichtung" (HTTP-GET) An existing BetreuterEinrichtung entity should be loaded from the relative URL: "/EinrichtungService/betreutereinrichtung/{id}" (HTTP-GET) If a new BetreuterEinrichtung entity has been created, the new entity should be posted to the relative URL: "/EinrichtungService/betreutereinrichtung" (HTTP-POST) If an existing BetreuterEinrichtung entity has been updated, the modified entity should be sent to the relative URL: "/EinrichtungService/betreutereinrichtung/{id}" (HTTP-PUT) If an existing BetreuterEinrichtung entity has to be deleted, the following relative URL should be called: "/EinrichtungService/betreutereinrichtung/{id}" (HTTP-DELETE) 2. The EinrichtungView must contain the following fields: - name: AdresseLand type: STRING - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: Art type: STRING - name: Email type: STRING - name: Name type: STRING - name: Telefonnummer type: STRING An existing Einrichtung entity should be loaded from the relative URL: "/EinrichtungService/einrichtung/{id}" (HTTP-GET) If a new Einrichtung entity has been created, the new entity should be posted to the relative URL: "/EinrichtungService/einrichtung" (HTTP-POST) If an existing Einrichtung entity has been updated, the modified entity should be sent to the relative URL: "/EinrichtungService/einrichtung/{id}" (HTTP-PUT) If an existing Einrichtung entity has to be deleted, the following relative URL should be called: "/EinrichtungService/einrichtung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BetreuterEinrichtung columns: - column: Notizen - column: Einrichtung - column: Betreuter - column: Aufenthaltsart - column: VonDatum - column: BisDatum The table should have the title "BetreuterEinrichtungs" und the data must be loaded from the server with the following relative URL: "/EinrichtungService/betreutereinrichtung/einrichtung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum