Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StadtApp
Please create a React-JS application for the StadtModule. The application has to offer the following views for the user interface: 1. ParkzoneView 2. SchildView 3. SchildTypView 4. StadtView 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 ParkzoneView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: FarbCode type: STRING - name: IstBewohnerparkenErlaubt type: BOOL - name: MaxDauerMinutenStandard type: INT - name: Name type: STRING - name: Stadt type: Stadt - name: ZonenTyp type: STRING The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) An existing Parkzone entity should be loaded from the relative URL: "/StadtService/parkzone/{id}" (HTTP-GET) If a new Parkzone entity has been created, the new entity should be posted to the relative URL: "/StadtService/parkzone" (HTTP-POST) If an existing Parkzone entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/parkzone/{id}" (HTTP-PUT) If an existing Parkzone entity has to be deleted, the following relative URL should be called: "/StadtService/parkzone/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Parktarif columns: - column: GueltigBisDatum - column: Fahrzeugtyp - column: GueltigVonDatum - column: Parkplatzbereich - column: NutzungsKategorie - column: MaxTagespreis - column: Parkzone - column: IstKostenlos - column: GrundpreisProStunde - column: Waehrung - column: Name - column: Beschreibung The table should have the title "Parktarifs" und the data must be loaded from the server with the following relative URL: "/NutzungsKategorieService/parktarif/parkzone/{id}" Add a HTML table to the view with the following Schild columns: - column: Text - column: Seite - column: Parkzone - column: ZeitVon - column: SchildTyp - column: Richtung - column: Parkplatzbereich - column: ZeitBis The table should have the title "Schilds" und the data must be loaded from the server with the following relative URL: "/StadtService/schild/parkzone/{id}" Add a HTML table to the view with the following Parkregel columns: - column: Rechtsgrundlage - column: BerechtigungErforderlich - column: GueltigBisZeit - column: GueltigBisDatum - column: Parkzone - column: TicketErforderlich - column: Hinweise - column: Name - column: ParkscheibeErforderlich - column: MaxDauerMinuten - column: GueltigVonDatum - column: NutzungsKategorie - column: Parkplatzbereich - column: GueltigVonZeit The table should have the title "Parkregels" und the data must be loaded from the server with the following relative URL: "/NutzungsKategorieService/parkregel/parkzone/{id}" 2. The SchildView must contain the following fields: - name: Parkplatzbereich type: Parkplatzbereich - name: Parkzone type: Parkzone - name: Richtung type: STRING - name: SchildTyp type: SchildTyp - name: Seite type: STRING - name: Text type: STRING - name: ZeitBis type: STRING - name: ZeitVon type: STRING The data source for the [Parkzone] select control should be loaded from the relative URL: "/StadtService/parkzone" (HTTP-GET) The data source for the [SchildTyp] select control should be loaded from the relative URL: "/StadtService/schildtyp" (HTTP-GET) The data source for the [Parkplatzbereich] select control should be loaded from the relative URL: "/ParkplatzbereichService/parkplatzbereich" (HTTP-GET) An existing Schild entity should be loaded from the relative URL: "/StadtService/schild/{id}" (HTTP-GET) If a new Schild entity has been created, the new entity should be posted to the relative URL: "/StadtService/schild" (HTTP-POST) If an existing Schild entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/schild/{id}" (HTTP-PUT) If an existing Schild entity has to be deleted, the following relative URL should be called: "/StadtService/schild/{id}" (HTTP-DELETE) 3. The SchildTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstHalteverbot type: BOOL - name: IstParkschild type: BOOL - name: Name type: STRING An existing SchildTyp entity should be loaded from the relative URL: "/StadtService/schildtyp/{id}" (HTTP-GET) If a new SchildTyp entity has been created, the new entity should be posted to the relative URL: "/StadtService/schildtyp" (HTTP-POST) If an existing SchildTyp entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/schildtyp/{id}" (HTTP-PUT) If an existing SchildTyp entity has to be deleted, the following relative URL should be called: "/StadtService/schildtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schild columns: - column: Text - column: Seite - column: Parkzone - column: ZeitVon - column: SchildTyp - column: Richtung - column: Parkplatzbereich - column: ZeitBis The table should have the title "Schilds" und the data must be loaded from the server with the following relative URL: "/StadtService/schild/schildtyp/{id}" 4. The StadtView must contain the following fields: - name: Einwohnerzahl type: INT - 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 Stadt entity should be loaded from the relative URL: "/StadtService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/StadtService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/StadtService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadtteil columns: - column: Name - column: Stadt The table should have the title "Stadtteils" und the data must be loaded from the server with the following relative URL: "/ParkbetreiberService/stadtteil/stadt/{id}" Add a HTML table to the view with the following Parkplatzbereich columns: - column: KapazitaetBus - column: ParkplatzbereichTyp - column: KapazitaetPkw - column: Adresse - column: IstOeffentlich - column: Parkbetreiber - column: Beschreibung - column: IstTemporar - column: HatGruenflaechen - column: KapazitaetFahrrad - column: Stadt - column: Name - column: Stadtteil - column: KapazitaetGesamt - column: Longitude - column: HatBeleuchtung - column: IstUeberdacht - column: KapazitaetLkw - column: KapazitaetMotorrad - column: Latitude - column: OberflaechenTyp - column: Zugangstyp - column: StandortTyp The table should have the title "Parkplatzbereichs" und the data must be loaded from the server with the following relative URL: "/ParkplatzbereichService/parkplatzbereich/stadt/{id}" Add a HTML table to the view with the following Parkzone columns: - column: Code - column: ZonenTyp - column: Name - column: IstBewohnerparkenErlaubt - column: FarbCode - column: MaxDauerMinutenStandard - column: Stadt - column: Beschreibung The table should have the title "Parkzones" und the data must be loaded from the server with the following relative URL: "/StadtService/parkzone/stadt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum