Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KontroverseApp
Please create a React-JS application for the KontroverseModule. The application has to offer the following views for the user interface: 1. KontroverseView 2. KontroverseAkteurView 3. ZooKontroverseView 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 KontroverseView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: LONG - name: KritikTyp type: STRING - name: Startjahr type: LONG - name: Thema type: STRING - name: Titel type: STRING An existing Kontroverse entity should be loaded from the relative URL: "/KontroverseService/kontroverse/{id}" (HTTP-GET) If a new Kontroverse entity has been created, the new entity should be posted to the relative URL: "/KontroverseService/kontroverse" (HTTP-POST) If an existing Kontroverse entity has been updated, the modified entity should be sent to the relative URL: "/KontroverseService/kontroverse/{id}" (HTTP-PUT) If an existing Kontroverse entity has to be deleted, the following relative URL should be called: "/KontroverseService/kontroverse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KontroverseAkteur columns: - column: Position - column: AkteurTyp - column: Kontroverse - column: AkteurName - column: Notizen The table should have the title "KontroverseAkteurs" und the data must be loaded from the server with the following relative URL: "/KontroverseService/kontroverseakteur/kontroverse/{id}" Add a HTML table to the view with the following ZooKontroverse columns: - column: AuswirkungBeschreibung - column: Zoo - column: Kontroverse The table should have the title "ZooKontroverses" und the data must be loaded from the server with the following relative URL: "/KontroverseService/zookontroverse/kontroverse/{id}" 2. The KontroverseAkteurView must contain the following fields: - name: AkteurName type: STRING - name: AkteurTyp type: STRING - name: Kontroverse type: Kontroverse - name: Notizen type: STRING - name: Position type: STRING The data source for the [Kontroverse] select control should be loaded from the relative URL: "/KontroverseService/kontroverse" (HTTP-GET) An existing KontroverseAkteur entity should be loaded from the relative URL: "/KontroverseService/kontroverseakteur/{id}" (HTTP-GET) If a new KontroverseAkteur entity has been created, the new entity should be posted to the relative URL: "/KontroverseService/kontroverseakteur" (HTTP-POST) If an existing KontroverseAkteur entity has been updated, the modified entity should be sent to the relative URL: "/KontroverseService/kontroverseakteur/{id}" (HTTP-PUT) If an existing KontroverseAkteur entity has to be deleted, the following relative URL should be called: "/KontroverseService/kontroverseakteur/{id}" (HTTP-DELETE) 3. The ZooKontroverseView must contain the following fields: - name: AuswirkungBeschreibung type: STRING - name: Kontroverse type: Kontroverse - name: Zoo type: Zoo The data source for the [Kontroverse] select control should be loaded from the relative URL: "/KontroverseService/kontroverse" (HTTP-GET) The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing ZooKontroverse entity should be loaded from the relative URL: "/KontroverseService/zookontroverse/{id}" (HTTP-GET) If a new ZooKontroverse entity has been created, the new entity should be posted to the relative URL: "/KontroverseService/zookontroverse" (HTTP-POST) If an existing ZooKontroverse entity has been updated, the modified entity should be sent to the relative URL: "/KontroverseService/zookontroverse/{id}" (HTTP-PUT) If an existing ZooKontroverse entity has to be deleted, the following relative URL should be called: "/KontroverseService/zookontroverse/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum