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. StrasseView 3. UmweltwirkungTypView 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 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 StrasseView must contain the following fields: - name: FahrstreifenAnzahl type: INT - 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: Strasse - column: DurchschnittsLux - column: Norm - column: StandortBeschreibung - column: HatSpezielleBeleuchtung 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: IstPflichtanlage - column: HatHalbnachtbetrieb - column: Norm - column: Steuerstrategie - column: Baujahr - column: Hinweise - column: Beleuchtungsklasse The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/strasse/{id}" Add a HTML table to the view with the following Tunnel columns: - column: Name - column: Norm - column: Strasse - column: HatSpezielleNorm - column: LaengeMeter The table should have the title "Tunnels" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/tunnel/strasse/{id}" 3. The UmweltwirkungTypView must contain the following fields: - name: Beschreibung type: STRING - name: BetroffenAstronomie type: BOOL - name: BetroffenFauna type: BOOL - name: BetroffenMensch type: BOOL - name: Name type: STRING An existing UmweltwirkungTyp entity should be loaded from the relative URL: "/StrasseService/umweltwirkungtyp/{id}" (HTTP-GET) If a new UmweltwirkungTyp entity has been created, the new entity should be posted to the relative URL: "/StrasseService/umweltwirkungtyp" (HTTP-POST) If an existing UmweltwirkungTyp entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/umweltwirkungtyp/{id}" (HTTP-PUT) If an existing UmweltwirkungTyp entity has to be deleted, the following relative URL should be called: "/StrasseService/umweltwirkungtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InstallationUmweltwirkung columns: - column: UmweltwirkungTyp - column: Hinweise - column: Schweregrad - column: Leuchteninstallation The table should have the title "InstallationUmweltwirkungs" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/installationumweltwirkung/umweltwirkungtyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum