Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HilfsplanApp
Please create a React-JS application for the HilfsplanModule. The application has to offer the following views for the user interface: 1. HilfsplanView 2. UnterstuetzungsaktivitaetView 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 HilfsplanView must contain the following fields: - name: ArbeitsZiel type: STRING - name: AutonomieZiel type: STRING - name: Bewohner type: Bewohner - name: Erstellungsdatum type: DATE - name: IntegrationsZiel type: STRING - name: Zielbeschreibung type: STRING The data source for the [Bewohner] select control should be loaded from the relative URL: "/BewohnerService/bewohner" (HTTP-GET) An existing Hilfsplan entity should be loaded from the relative URL: "/HilfsplanService/hilfsplan/{id}" (HTTP-GET) If a new Hilfsplan entity has been created, the new entity should be posted to the relative URL: "/HilfsplanService/hilfsplan" (HTTP-POST) If an existing Hilfsplan entity has been updated, the modified entity should be sent to the relative URL: "/HilfsplanService/hilfsplan/{id}" (HTTP-PUT) If an existing Hilfsplan entity has to be deleted, the following relative URL should be called: "/HilfsplanService/hilfsplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterstuetzungsaktivitaet columns: - column: Hilfsplan - column: Aktivitaetsdatum - column: Mitarbeiter - column: DauerMinuten - column: Aktivitaetstyp - column: Beschreibung The table should have the title "Unterstuetzungsaktivitaets" und the data must be loaded from the server with the following relative URL: "/HilfsplanService/unterstuetzungsaktivitaet/hilfsplan/{id}" 2. The UnterstuetzungsaktivitaetView must contain the following fields: - name: Aktivitaetsdatum type: DATE - name: Aktivitaetstyp type: STRING - name: Beschreibung type: STRING - name: DauerMinuten type: INT - name: Hilfsplan type: Hilfsplan - name: Mitarbeiter type: Mitarbeiter The data source for the [Hilfsplan] select control should be loaded from the relative URL: "/HilfsplanService/hilfsplan" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing Unterstuetzungsaktivitaet entity should be loaded from the relative URL: "/HilfsplanService/unterstuetzungsaktivitaet/{id}" (HTTP-GET) If a new Unterstuetzungsaktivitaet entity has been created, the new entity should be posted to the relative URL: "/HilfsplanService/unterstuetzungsaktivitaet" (HTTP-POST) If an existing Unterstuetzungsaktivitaet entity has been updated, the modified entity should be sent to the relative URL: "/HilfsplanService/unterstuetzungsaktivitaet/{id}" (HTTP-PUT) If an existing Unterstuetzungsaktivitaet entity has to be deleted, the following relative URL should be called: "/HilfsplanService/unterstuetzungsaktivitaet/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum