Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegierungApp
Please create a React-JS application for the RegierungModule. The application has to offer the following views for the user interface: 1. AnalyseView 2. RegierungView 3. UnterrichtungView 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 AnalyseView must contain the following fields: - name: ErstelltAm type: DATE - name: Lage type: Lage - name: Lagezentrum type: Lagezentrum - name: Zielgruppe type: STRING - name: Zusammenfassung type: STRING The data source for the [Lage] select control should be loaded from the relative URL: "/LageService/lage" (HTTP-GET) The data source for the [Lagezentrum] select control should be loaded from the relative URL: "/LagezentrumService/lagezentrum" (HTTP-GET) An existing Analyse entity should be loaded from the relative URL: "/RegierungService/analyse/{id}" (HTTP-GET) If a new Analyse entity has been created, the new entity should be posted to the relative URL: "/RegierungService/analyse" (HTTP-POST) If an existing Analyse entity has been updated, the modified entity should be sent to the relative URL: "/RegierungService/analyse/{id}" (HTTP-PUT) If an existing Analyse entity has to be deleted, the following relative URL should be called: "/RegierungService/analyse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterrichtung columns: - column: Regierung - column: Kanal - column: Analyse - column: UebermitteltAm The table should have the title "Unterrichtungs" und the data must be loaded from the server with the following relative URL: "/RegierungService/unterrichtung/analyse/{id}" 2. The RegierungView must contain the following fields: - name: Ebene type: STRING - name: Name type: STRING - name: Sitz type: STRING An existing Regierung entity should be loaded from the relative URL: "/RegierungService/regierung/{id}" (HTTP-GET) If a new Regierung entity has been created, the new entity should be posted to the relative URL: "/RegierungService/regierung" (HTTP-POST) If an existing Regierung entity has been updated, the modified entity should be sent to the relative URL: "/RegierungService/regierung/{id}" (HTTP-PUT) If an existing Regierung entity has to be deleted, the following relative URL should be called: "/RegierungService/regierung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterrichtung columns: - column: Regierung - column: Kanal - column: Analyse - column: UebermitteltAm The table should have the title "Unterrichtungs" und the data must be loaded from the server with the following relative URL: "/RegierungService/unterrichtung/regierung/{id}" 3. The UnterrichtungView must contain the following fields: - name: Analyse type: Analyse - name: Kanal type: STRING - name: Regierung type: Regierung - name: UebermitteltAm type: DATE The data source for the [Analyse] select control should be loaded from the relative URL: "/RegierungService/analyse" (HTTP-GET) The data source for the [Regierung] select control should be loaded from the relative URL: "/RegierungService/regierung" (HTTP-GET) An existing Unterrichtung entity should be loaded from the relative URL: "/RegierungService/unterrichtung/{id}" (HTTP-GET) If a new Unterrichtung entity has been created, the new entity should be posted to the relative URL: "/RegierungService/unterrichtung" (HTTP-POST) If an existing Unterrichtung entity has been updated, the modified entity should be sent to the relative URL: "/RegierungService/unterrichtung/{id}" (HTTP-PUT) If an existing Unterrichtung entity has to be deleted, the following relative URL should be called: "/RegierungService/unterrichtung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum