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. LandView 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 LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/RegionService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/RegionService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/RegionService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Region columns: - column: Land - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/RegionService/region/land/{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: "/RegionService/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 Gemeinde columns: - column: Einwohner - column: HatSolarbehaelter - column: HatUnterflursystem - column: Region - column: Name 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