Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StrasseApp
Please create a React-JS application for the StrasseModule. The application has to offer the following views for the user interface: 1. FussgaengerueberwegView 2. MastView 3. StrasseView 4. TunnelView 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 FussgaengerueberwegView must contain the following fields: - name: DurchschnittsLux type: STRING - name: HatSpezielleBeleuchtung type: BOOL - name: Norm type: Beleuchtungsnorm - name: StandortBeschreibung type: STRING - name: Strasse type: Strasse The data source for the [Norm] select control should be loaded from the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm" (HTTP-GET) The data source for the [Strasse] select control should be loaded from the relative URL: "/StrasseService/strasse" (HTTP-GET) An existing Fussgaengerueberweg entity should be loaded from the relative URL: "/StrasseService/fussgaengerueberweg/{id}" (HTTP-GET) If a new Fussgaengerueberweg entity has been created, the new entity should be posted to the relative URL: "/StrasseService/fussgaengerueberweg" (HTTP-POST) If an existing Fussgaengerueberweg entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/fussgaengerueberweg/{id}" (HTTP-PUT) If an existing Fussgaengerueberweg entity has to be deleted, the following relative URL should be called: "/StrasseService/fussgaengerueberweg/{id}" (HTTP-DELETE) 2. The MastView must contain the following fields: - name: Code type: STRING - name: HatAusleger type: BOOL - name: HoeheMeter type: STRING - name: IstDekorativ type: BOOL - name: Material type: STRING - name: MontageortTyp type: STRING An existing Mast entity should be loaded from the relative URL: "/StrasseService/mast/{id}" (HTTP-GET) If a new Mast entity has been created, the new entity should be posted to the relative URL: "/StrasseService/mast" (HTTP-POST) If an existing Mast entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/mast/{id}" (HTTP-PUT) If an existing Mast entity has to be deleted, the following relative URL should be called: "/StrasseService/mast/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leuchteninstallation columns: - column: IstAnGebaeude - column: IstAnBruecke - column: IstAnSeil - column: Leuchte - column: Strassenbeleuchtungsanlage - column: AbstandMeter - column: Mast - column: Montagehoehe - column: Stromkreis - column: PositionUeberFahrbahn The table should have the title "Leuchteninstallations" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/leuchteninstallation/mast/{id}" 3. The StrasseView must contain the following fields: - name: FahrstreifenAnzahl type: LONG - name: Gemeinde type: Gemeinde - name: HatFussgaengerueberwege type: BOOL - name: HatFussgaengerverkehr type: BOOL - name: IstSchnellstrasse type: BOOL - name: IstTunnelabschnitt type: BOOL - name: Name type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing Strasse entity should be loaded from the relative URL: "/StrasseService/strasse/{id}" (HTTP-GET) If a new Strasse entity has been created, the new entity should be posted to the relative URL: "/StrasseService/strasse" (HTTP-POST) If an existing Strasse entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/strasse/{id}" (HTTP-PUT) If an existing Strasse entity has to be deleted, the following relative URL should be called: "/StrasseService/strasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fussgaengerueberweg columns: - column: HatSpezielleBeleuchtung - column: StandortBeschreibung - column: Strasse - column: DurchschnittsLux - column: Norm The table should have the title "Fussgaengerueberwegs" und the data must be loaded from the server with the following relative URL: "/StrasseService/fussgaengerueberweg/strasse/{id}" Add a HTML table to the view with the following Strassenbeleuchtungsanlage columns: - column: Strasse - column: Hinweise - column: Steuerstrategie - column: Beleuchtungsklasse - column: HatHalbnachtbetrieb - column: Baujahr - column: Norm - column: IstPflichtanlage The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage/strasse/{id}" Add a HTML table to the view with the following Tunnel columns: - column: Name - column: Strasse - column: Norm - column: LaengeMeter - column: HatSpezielleNorm The table should have the title "Tunnels" und the data must be loaded from the server with the following relative URL: "/StrasseService/tunnel/strasse/{id}" 4. The TunnelView must contain the following fields: - name: HatSpezielleNorm type: BOOL - name: LaengeMeter type: STRING - name: Name type: STRING - name: Norm type: Beleuchtungsnorm - name: Strasse type: Strasse The data source for the [Norm] select control should be loaded from the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm" (HTTP-GET) The data source for the [Strasse] select control should be loaded from the relative URL: "/StrasseService/strasse" (HTTP-GET) An existing Tunnel entity should be loaded from the relative URL: "/StrasseService/tunnel/{id}" (HTTP-GET) If a new Tunnel entity has been created, the new entity should be posted to the relative URL: "/StrasseService/tunnel" (HTTP-POST) If an existing Tunnel entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/tunnel/{id}" (HTTP-PUT) If an existing Tunnel entity has to be deleted, the following relative URL should be called: "/StrasseService/tunnel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum