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. BahnstreckeView 2. LandView 3. SignalartView 4. StandardtechnikView 5. StrasseView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The BahnstreckeView must contain the following fields: - name: Betreiber type: STRING - name: Elektrifiziert type: BOOL - name: Land type: Land - name: MaxGeschwindigkeit type: LONG - 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 Bahnstrecke entity should be loaded from the relative URL: "/LandService/bahnstrecke/{id}" (HTTP-GET) If a new Bahnstrecke entity has been created, the new entity should be posted to the relative URL: "/LandService/bahnstrecke" (HTTP-POST) If an existing Bahnstrecke entity has been updated, the modified entity should be sent to the relative URL: "/LandService/bahnstrecke/{id}" (HTTP-PUT) If an existing Bahnstrecke entity has to be deleted, the following relative URL should be called: "/LandService/bahnstrecke/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bahnuebergang columns: - column: Strasse - column: Beschreibung - column: AlternativeUeberOderUnterfuehrung - column: MaxBahnGeschwindigkeit - column: Sicherungskategorie - column: Bahnstrecke - column: AnzahlGleise - column: TechnischGesichert - column: Elektrifiziert - column: Uebergangsart - column: MaxStrassenGeschwindigkeit - column: Name - column: Neubau - column: Breitengrad - column: Land - column: Laengengrad The table should have the title "Bahnuebergangs" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergang/bahnstrecke/{id}" 2. 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 Geschwindigkeitsregel columns: - column: Beschreibung - column: MaxBahnGeschwindigkeit - column: ErfordertTechnischeSicherung - column: Land - column: MaxStrassenGeschwindigkeit - column: ErfordertKeinenBahnuebergang The table should have the title "Geschwindigkeitsregels" und the data must be loaded from the server with the following relative URL: "/UebergangsartService/geschwindigkeitsregel/land/{id}" Add a HTML table to the view with the following Strasse columns: - column: Strassenkategorie - column: MaxGeschwindigkeit - column: Land - column: Name The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/LandService/strasse/land/{id}" Add a HTML table to the view with the following Unfallstatistik columns: - column: AnzahlTote - column: Land - column: AnzahlVerletzte - column: Jahr - column: AnzahlUnfaelle - column: Quelle - column: AnzahlBahnuebergaenge The table should have the title "Unfallstatistiks" und the data must be loaded from the server with the following relative URL: "/UebergangsartService/unfallstatistik/land/{id}" Add a HTML table to the view with the following Gesetz columns: - column: Beschreibung - column: GueltigAb - column: GueltigBis - column: Kuerzel - column: Name - column: Land - column: Paragraph The table should have the title "Gesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/gesetz/land/{id}" Add a HTML table to the view with the following Bahnstrecke columns: - column: MaxGeschwindigkeit - column: Name - column: Betreiber - column: Elektrifiziert - column: Land The table should have the title "Bahnstreckes" und the data must be loaded from the server with the following relative URL: "/LandService/bahnstrecke/land/{id}" Add a HTML table to the view with the following Standardtechnik columns: - column: Land - column: Name - column: Beschreibung - column: Hersteller - column: EinsatzBisJahr - column: EinsatzAbJahr - column: Kuerzel The table should have the title "Standardtechniks" und the data must be loaded from the server with the following relative URL: "/LandService/standardtechnik/land/{id}" Add a HTML table to the view with the following Signalart columns: - column: Name - column: Code - column: Land - column: Beschreibung The table should have the title "Signalarts" und the data must be loaded from the server with the following relative URL: "/LandService/signalart/land/{id}" Add a HTML table to the view with the following Bahnuebergang columns: - column: Strasse - column: Beschreibung - column: AlternativeUeberOderUnterfuehrung - column: MaxBahnGeschwindigkeit - column: Sicherungskategorie - column: Bahnstrecke - column: AnzahlGleise - column: TechnischGesichert - column: Elektrifiziert - column: Uebergangsart - column: MaxStrassenGeschwindigkeit - column: Name - column: Neubau - column: Breitengrad - column: Land - column: Laengengrad The table should have the title "Bahnuebergangs" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergang/land/{id}" 3. The SignalartView must contain the following fields: - name: Beschreibung type: STRING - name: Code 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 Signalart entity should be loaded from the relative URL: "/LandService/signalart/{id}" (HTTP-GET) If a new Signalart entity has been created, the new entity should be posted to the relative URL: "/LandService/signalart" (HTTP-POST) If an existing Signalart entity has been updated, the modified entity should be sent to the relative URL: "/LandService/signalart/{id}" (HTTP-PUT) If an existing Signalart entity has to be deleted, the following relative URL should be called: "/LandService/signalart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangSignal columns: - column: StrassenSignal - column: BahnSignal - column: Signalart - column: Bahnuebergang The table should have the title "BahnuebergangSignals" und the data must be loaded from the server with the following relative URL: "/GesetzService/bahnuebergangsignal/signalart/{id}" 4. The StandardtechnikView must contain the following fields: - name: Beschreibung type: STRING - name: EinsatzAbJahr type: LONG - name: EinsatzBisJahr type: LONG - name: Hersteller type: STRING - name: Kuerzel 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 Standardtechnik entity should be loaded from the relative URL: "/LandService/standardtechnik/{id}" (HTTP-GET) If a new Standardtechnik entity has been created, the new entity should be posted to the relative URL: "/LandService/standardtechnik" (HTTP-POST) If an existing Standardtechnik entity has been updated, the modified entity should be sent to the relative URL: "/LandService/standardtechnik/{id}" (HTTP-PUT) If an existing Standardtechnik entity has to be deleted, the following relative URL should be called: "/LandService/standardtechnik/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangStandardtechnik columns: - column: Installationsjahr - column: Bahnuebergang - column: Standardtechnik The table should have the title "BahnuebergangStandardtechniks" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergangstandardtechnik/standardtechnik/{id}" 5. The StrasseView must contain the following fields: - name: Land type: Land - name: MaxGeschwindigkeit type: LONG - name: Name type: STRING - name: Strassenkategorie type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Strasse entity should be loaded from the relative URL: "/LandService/strasse/{id}" (HTTP-GET) If a new Strasse entity has been created, the new entity should be posted to the relative URL: "/LandService/strasse" (HTTP-POST) If an existing Strasse entity has been updated, the modified entity should be sent to the relative URL: "/LandService/strasse/{id}" (HTTP-PUT) If an existing Strasse entity has to be deleted, the following relative URL should be called: "/LandService/strasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bahnuebergang columns: - column: Strasse - column: Beschreibung - column: AlternativeUeberOderUnterfuehrung - column: MaxBahnGeschwindigkeit - column: Sicherungskategorie - column: Bahnstrecke - column: AnzahlGleise - column: TechnischGesichert - column: Elektrifiziert - column: Uebergangsart - column: MaxStrassenGeschwindigkeit - column: Name - column: Neubau - column: Breitengrad - column: Land - column: Laengengrad The table should have the title "Bahnuebergangs" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergang/strasse/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum