Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischeStrasseApp
Please create a React-JS application for the HistorischeStrasseModule. The application has to offer the following views for the user interface: 1. HistorischeStrasseView 2. HistorischeStrassenstreckeView 3. UmweltauswirkungView 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 HistorischeStrasseView must contain the following fields: - name: Beschreibung type: STRING - name: EndeJahr type: LONG - name: Kultur type: STRING - name: Militaerisch type: BOOL - name: Name type: STRING - name: StartJahr type: LONG An existing HistorischeStrasse entity should be loaded from the relative URL: "/HistorischeStrasseService/historischestrasse/{id}" (HTTP-GET) If a new HistorischeStrasse entity has been created, the new entity should be posted to the relative URL: "/HistorischeStrasseService/historischestrasse" (HTTP-POST) If an existing HistorischeStrasse entity has been updated, the modified entity should be sent to the relative URL: "/HistorischeStrasseService/historischestrasse/{id}" (HTTP-PUT) If an existing HistorischeStrasse entity has to be deleted, the following relative URL should be called: "/HistorischeStrasseService/historischestrasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischeStrassenstrecke columns: - column: Notizen - column: Strassenabschnitt - column: HistorischeStrasse The table should have the title "HistorischeStrassenstreckes" und the data must be loaded from the server with the following relative URL: "/HistorischeStrasseService/historischestrassenstrecke/historischestrasse/{id}" 2. The HistorischeStrassenstreckeView must contain the following fields: - name: HistorischeStrasse type: HistorischeStrasse - name: Notizen type: STRING - name: Strassenabschnitt type: Strassenabschnitt The data source for the [HistorischeStrasse] select control should be loaded from the relative URL: "/HistorischeStrasseService/historischestrasse" (HTTP-GET) The data source for the [Strassenabschnitt] select control should be loaded from the relative URL: "/StrassenabschnittService/strassenabschnitt" (HTTP-GET) An existing HistorischeStrassenstrecke entity should be loaded from the relative URL: "/HistorischeStrasseService/historischestrassenstrecke/{id}" (HTTP-GET) If a new HistorischeStrassenstrecke entity has been created, the new entity should be posted to the relative URL: "/HistorischeStrasseService/historischestrassenstrecke" (HTTP-POST) If an existing HistorischeStrassenstrecke entity has been updated, the modified entity should be sent to the relative URL: "/HistorischeStrasseService/historischestrassenstrecke/{id}" (HTTP-PUT) If an existing HistorischeStrassenstrecke entity has to be deleted, the following relative URL should be called: "/HistorischeStrasseService/historischestrassenstrecke/{id}" (HTTP-DELETE) 3. The UmweltauswirkungView must contain the following fields: - name: Jahr type: LONG - name: LaermDb type: STRING - name: Strassenabschnitt type: Strassenabschnitt - name: Wildtierquerung type: BOOL - name: Zerschneidungsindex type: STRING The data source for the [Strassenabschnitt] select control should be loaded from the relative URL: "/StrassenabschnittService/strassenabschnitt" (HTTP-GET) An existing Umweltauswirkung entity should be loaded from the relative URL: "/HistorischeStrasseService/umweltauswirkung/{id}" (HTTP-GET) If a new Umweltauswirkung entity has been created, the new entity should be posted to the relative URL: "/HistorischeStrasseService/umweltauswirkung" (HTTP-POST) If an existing Umweltauswirkung entity has been updated, the modified entity should be sent to the relative URL: "/HistorischeStrasseService/umweltauswirkung/{id}" (HTTP-PUT) If an existing Umweltauswirkung entity has to be deleted, the following relative URL should be called: "/HistorischeStrasseService/umweltauswirkung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum