Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. RegionView 3. StadtView 4. StrassennetzView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 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: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TranskontinentaleRoutenabschnitt columns: - column: TranskontinentaleRoute - column: Strasse - column: Reihenfolge - column: Land - column: LaengeKm The table should have the title "TranskontinentaleRoutenabschnitts" und the data must be loaded from the server with the following relative URL: "/StrasseService/transkontinentaleroutenabschnitt/land/{id}" Add a HTML table to the view with the following Strassennetz columns: - column: Land - column: Beschreibung - column: Name - column: GesamtlaengeKm The table should have the title "Strassennetzs" und the data must be loaded from the server with the following relative URL: "/LandService/strassennetz/land/{id}" Add a HTML table to the view with the following Region columns: - column: Land - column: Name - column: Typ The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/LandService/region/land/{id}" 2. The RegionView must contain the following fields: - name: Land type: Land - name: Name type: STRING - name: Typ type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/LandService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/LandService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/LandService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/LandService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Name - column: Region - column: Einwohner The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/LandService/stadt/region/{id}" 3. The StadtView must contain the following fields: - name: Einwohner type: LONG - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/LandService/region" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/LandService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/LandService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/LandService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strassenname columns: - column: Postleitzahl - column: Stadt - column: Name - column: Namenspraefix - column: IstEindeutigInStadt - column: Namenssuffix The table should have the title "Strassennames" und the data must be loaded from the server with the following relative URL: "/NamenspraefixService/strassenname/stadt/{id}" 4. The StrassennetzView must contain the following fields: - name: Beschreibung type: STRING - name: GesamtlaengeKm type: STRING - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Strassennetz entity should be loaded from the relative URL: "/LandService/strassennetz/{id}" (HTTP-GET) If a new Strassennetz entity has been created, the new entity should be posted to the relative URL: "/LandService/strassennetz" (HTTP-POST) If an existing Strassennetz entity has been updated, the modified entity should be sent to the relative URL: "/LandService/strassennetz/{id}" (HTTP-PUT) If an existing Strassennetz entity has to be deleted, the following relative URL should be called: "/LandService/strassennetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strasse columns: - column: Strassennetz - column: Strassenkategorie - column: LaengeKm - column: FahrstreifenProRichtung - column: HoechstgeschwindigkeitKmh - column: Schliessungsdatum - column: IstEinbahn - column: IstInnerorts - column: Name - column: IstMaut - column: Eroeffnungsdatum The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/StrasseService/strasse/strassennetz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum