Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegionApp
Please create a React-JS application for the RegionModule. The application has to offer the following views for the user interface: 1. AbfallwirtschaftsplanView 2. RegionView 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 AbfallwirtschaftsplanView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Land type: Land - name: PlanEbene type: STRING - name: Region type: Region - name: Titel type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/AkteurService/land" (HTTP-GET) An existing Abfallwirtschaftsplan entity should be loaded from the relative URL: "/RegionService/abfallwirtschaftsplan/{id}" (HTTP-GET) If a new Abfallwirtschaftsplan entity has been created, the new entity should be posted to the relative URL: "/RegionService/abfallwirtschaftsplan" (HTTP-POST) If an existing Abfallwirtschaftsplan entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/abfallwirtschaftsplan/{id}" (HTTP-PUT) If an existing Abfallwirtschaftsplan entity has to be deleted, the following relative URL should be called: "/RegionService/abfallwirtschaftsplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PlanZiel columns: - column: ZielBeschreibung - column: ZielJahr - column: Abfallfraktion - column: ZielEinheit - column: Abfallwirtschaftsplan - column: Abfallart - column: ZielWert The table should have the title "PlanZiels" und the data must be loaded from the server with the following relative URL: "/AbfallfraktionService/planziel/abfallwirtschaftsplan/{id}" 2. The RegionView must contain the following fields: - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/AkteurService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/RegionService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/RegionService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/RegionService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallwirtschaftsplan columns: - column: PlanEbene - column: GueltigBis - column: Land - column: Gemeinde - column: GueltigVon - column: Region - column: Titel - column: Beschreibung The table should have the title "Abfallwirtschaftsplans" und the data must be loaded from the server with the following relative URL: "/RegionService/abfallwirtschaftsplan/region/{id}" Add a HTML table to the view with the following Gemeinde columns: - column: Name - column: Land - column: Einwohnerzahl - column: FlaecheQuadratkilometer - column: Region The table should have the title "Gemeindes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gemeinde/region/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum