Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SwotKategorieApp
Please create a React-JS application for the SwotKategorieModule. The application has to offer the following views for the user interface: 1. MegatrendView 2. SwotEintragView 3. SwotKategorieView 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 MegatrendView must contain the following fields: - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Name type: STRING An existing Megatrend entity should be loaded from the relative URL: "/SwotKategorieService/megatrend/{id}" (HTTP-GET) If a new Megatrend entity has been created, the new entity should be posted to the relative URL: "/SwotKategorieService/megatrend" (HTTP-POST) If an existing Megatrend entity has been updated, the modified entity should be sent to the relative URL: "/SwotKategorieService/megatrend/{id}" (HTTP-PUT) If an existing Megatrend entity has to be deleted, the following relative URL should be called: "/SwotKategorieService/megatrend/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SwotEintrag columns: - column: Titel - column: Typ - column: Megatrend - column: Beschreibung - column: Studie - column: SwotKategorie The table should have the title "SwotEintrags" und the data must be loaded from the server with the following relative URL: "/SwotKategorieService/swoteintrag/megatrend/{id}" 2. The SwotEintragView must contain the following fields: - name: Beschreibung type: STRING - name: Megatrend type: Megatrend - name: Studie type: Studie - name: SwotKategorie type: SwotKategorie - name: Titel type: STRING - name: Typ type: STRING The data source for the [Megatrend] select control should be loaded from the relative URL: "/SwotKategorieService/megatrend" (HTTP-GET) The data source for the [Studie] select control should be loaded from the relative URL: "/StudieService/studie" (HTTP-GET) The data source for the [SwotKategorie] select control should be loaded from the relative URL: "/SwotKategorieService/swotkategorie" (HTTP-GET) An existing SwotEintrag entity should be loaded from the relative URL: "/SwotKategorieService/swoteintrag/{id}" (HTTP-GET) If a new SwotEintrag entity has been created, the new entity should be posted to the relative URL: "/SwotKategorieService/swoteintrag" (HTTP-POST) If an existing SwotEintrag entity has been updated, the modified entity should be sent to the relative URL: "/SwotKategorieService/swoteintrag/{id}" (HTTP-PUT) If an existing SwotEintrag entity has to be deleted, the following relative URL should be called: "/SwotKategorieService/swoteintrag/{id}" (HTTP-DELETE) 3. The SwotKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing SwotKategorie entity should be loaded from the relative URL: "/SwotKategorieService/swotkategorie/{id}" (HTTP-GET) If a new SwotKategorie entity has been created, the new entity should be posted to the relative URL: "/SwotKategorieService/swotkategorie" (HTTP-POST) If an existing SwotKategorie entity has been updated, the modified entity should be sent to the relative URL: "/SwotKategorieService/swotkategorie/{id}" (HTTP-PUT) If an existing SwotKategorie entity has to be deleted, the following relative URL should be called: "/SwotKategorieService/swotkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SwotEintrag columns: - column: Titel - column: Typ - column: Megatrend - column: Beschreibung - column: Studie - column: SwotKategorie The table should have the title "SwotEintrags" und the data must be loaded from the server with the following relative URL: "/SwotKategorieService/swoteintrag/swotkategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum