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. SaalDigitalStandardView 2. StadtView 3. StadtKinoStatistikJahrView 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 SaalDigitalStandardView must contain the following fields: - name: BisDatum type: DATE - name: DigitalStandard type: DigitalStandard - name: Saal type: Saal - name: VonDatum type: DATE The data source for the [DigitalStandard] select control should be loaded from the relative URL: "/FilmService/digitalstandard" (HTTP-GET) The data source for the [Saal] select control should be loaded from the relative URL: "/SaalService/saal" (HTTP-GET) An existing SaalDigitalStandard entity should be loaded from the relative URL: "/StadtService/saaldigitalstandard/{id}" (HTTP-GET) If a new SaalDigitalStandard entity has been created, the new entity should be posted to the relative URL: "/StadtService/saaldigitalstandard" (HTTP-POST) If an existing SaalDigitalStandard entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/saaldigitalstandard/{id}" (HTTP-PUT) If an existing SaalDigitalStandard entity has to be deleted, the following relative URL should be called: "/StadtService/saaldigitalstandard/{id}" (HTTP-DELETE) 2. The StadtView must contain the following fields: - name: Breitengrad type: STRING - name: Laengengrad type: STRING - name: Land type: Land - name: Name type: STRING - name: Region 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 Kino columns: - column: IstInBetrieb - column: HistorischeBedeutung - column: Kinokette - column: Stadt - column: Beschreibung - column: Webseite - column: Name - column: AnzahlSaeale - column: Eroeffnungsdatum The table should have the title "Kinos" und the data must be loaded from the server with the following relative URL: "/KinoService/kino/stadt/{id}" Add a HTML table to the view with the following StadtKinoStatistikJahr columns: - column: Stadt - column: Besucher - column: Umsatz - column: Jahr The table should have the title "StadtKinoStatistikJahrs" und the data must be loaded from the server with the following relative URL: "/StadtService/stadtkinostatistikjahr/stadt/{id}" 3. The StadtKinoStatistikJahrView must contain the following fields: - name: Besucher type: LONG - name: Jahr type: LONG - name: Stadt type: Stadt - name: Umsatz type: DOUBLE The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) An existing StadtKinoStatistikJahr entity should be loaded from the relative URL: "/StadtService/stadtkinostatistikjahr/{id}" (HTTP-GET) If a new StadtKinoStatistikJahr entity has been created, the new entity should be posted to the relative URL: "/StadtService/stadtkinostatistikjahr" (HTTP-POST) If an existing StadtKinoStatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/StadtService/stadtkinostatistikjahr/{id}" (HTTP-PUT) If an existing StadtKinoStatistikJahr entity has to be deleted, the following relative URL should be called: "/StadtService/stadtkinostatistikjahr/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum