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. HistorischesEreignisView 2. RegelungView 3. 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 3 views are defined below. 1. The HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Jahr type: LONG - name: Land type: Land - name: Organisation type: Organisation - name: Region type: Region - name: Titel type: STRING The data source for the [Organisation] select control should be loaded from the relative URL: "/LandService/organisation" (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: "/LandService/land" (HTTP-GET) An existing HistorischesEreignis entity should be loaded from the relative URL: "/RegionService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/RegionService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/RegionService/historischesereignis/{id}" (HTTP-DELETE) 2. The RegelungView must contain the following fields: - name: Beschreibung type: STRING - name: Jahr type: LONG - name: Land type: Land - name: Name type: STRING - name: Organisation type: Organisation - name: Region type: Region The data source for the [Organisation] select control should be loaded from the relative URL: "/LandService/organisation" (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: "/LandService/land" (HTTP-GET) An existing Regelung entity should be loaded from the relative URL: "/RegionService/regelung/{id}" (HTTP-GET) If a new Regelung entity has been created, the new entity should be posted to the relative URL: "/RegionService/regelung" (HTTP-POST) If an existing Regelung entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/regelung/{id}" (HTTP-PUT) If an existing Regelung entity has to be deleted, the following relative URL should be called: "/RegionService/regelung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RegelungsZiel columns: - column: ZielTyp - column: Abfallstrom - column: ZielJahr - column: Notizen - column: GlasKategorie - column: ZielProzent - column: Regelung The table should have the title "RegelungsZiels" und the data must be loaded from the server with the following relative URL: "/GlasKategorieService/regelungsziel/regelung/{id}" 3. The RegionView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING 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 JahresStatistik columns: - column: RecyclingQuoteProzent - column: Land - column: MarktMengeTonnen - column: GlasKategorie - column: Jahr - column: Region - column: Notizen - column: PostConsumerAnteilProzent - column: RecyceltTonnen - column: SammelQuoteProzent - column: GesammeltTonnen The table should have the title "JahresStatistiks" und the data must be loaded from the server with the following relative URL: "/GlasKategorieService/jahresstatistik/region/{id}" Add a HTML table to the view with the following HistorischesEreignis columns: - column: Organisation - column: Titel - column: Region - column: Jahr - column: Land - column: Beschreibung The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/RegionService/historischesereignis/region/{id}" Add a HTML table to the view with the following Regelung columns: - column: Organisation - column: Region - column: Jahr - column: Land - column: Name - column: Beschreibung The table should have the title "Regelungs" und the data must be loaded from the server with the following relative URL: "/RegionService/regelung/region/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum