Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ProduktApp
Please create a React-JS application for the ProduktModule. The application has to offer the following views for the user interface: 1. ProduktView 2. ProduktKategorieView 3. ProduktWirkStoffView 4. WirkStoffView 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 ProduktView must contain the following fields: - name: Beschreibung type: STRING - name: IstDesinfizierend type: BOOL - name: IstDesodorierend type: BOOL - name: IstHornhautErweichend type: BOOL - name: IstTopisch type: BOOL - name: Name type: STRING - name: ProduktKategorie type: ProduktKategorie The data source for the [ProduktKategorie] select control should be loaded from the relative URL: "/ProduktService/produktkategorie" (HTTP-GET) An existing Produkt entity should be loaded from the relative URL: "/ProduktService/produkt/{id}" (HTTP-GET) If a new Produkt entity has been created, the new entity should be posted to the relative URL: "/ProduktService/produkt" (HTTP-POST) If an existing Produkt entity has been updated, the modified entity should be sent to the relative URL: "/ProduktService/produkt/{id}" (HTTP-PUT) If an existing Produkt entity has to be deleted, the following relative URL should be called: "/ProduktService/produkt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProduktWirkStoff columns: - column: Produkt - column: WirkStoff The table should have the title "ProduktWirkStoffs" und the data must be loaded from the server with the following relative URL: "/ProduktService/produktwirkstoff/produkt/{id}" Add a HTML table to the view with the following ProduktZustand columns: - column: Zustand - column: Produkt The table should have the title "ProduktZustands" und the data must be loaded from the server with the following relative URL: "/ZustandService/produktzustand/produkt/{id}" 2. The ProduktKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: IstMedizinisch type: BOOL - name: Name type: STRING An existing ProduktKategorie entity should be loaded from the relative URL: "/ProduktService/produktkategorie/{id}" (HTTP-GET) If a new ProduktKategorie entity has been created, the new entity should be posted to the relative URL: "/ProduktService/produktkategorie" (HTTP-POST) If an existing ProduktKategorie entity has been updated, the modified entity should be sent to the relative URL: "/ProduktService/produktkategorie/{id}" (HTTP-PUT) If an existing ProduktKategorie entity has to be deleted, the following relative URL should be called: "/ProduktService/produktkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Produkt columns: - column: Beschreibung - column: IstHornhautErweichend - column: ProduktKategorie - column: IstDesinfizierend - column: IstDesodorierend - column: IstTopisch - column: Name The table should have the title "Produkts" und the data must be loaded from the server with the following relative URL: "/ProduktService/produkt/produktkategorie/{id}" 3. The ProduktWirkStoffView must contain the following fields: - name: Produkt type: Produkt - name: WirkStoff type: WirkStoff The data source for the [Produkt] select control should be loaded from the relative URL: "/ProduktService/produkt" (HTTP-GET) The data source for the [WirkStoff] select control should be loaded from the relative URL: "/ProduktService/wirkstoff" (HTTP-GET) An existing ProduktWirkStoff entity should be loaded from the relative URL: "/ProduktService/produktwirkstoff/{id}" (HTTP-GET) If a new ProduktWirkStoff entity has been created, the new entity should be posted to the relative URL: "/ProduktService/produktwirkstoff" (HTTP-POST) If an existing ProduktWirkStoff entity has been updated, the modified entity should be sent to the relative URL: "/ProduktService/produktwirkstoff/{id}" (HTTP-PUT) If an existing ProduktWirkStoff entity has to be deleted, the following relative URL should be called: "/ProduktService/produktwirkstoff/{id}" (HTTP-DELETE) 4. The WirkStoffView must contain the following fields: - name: Beschreibung type: STRING - name: IstPflanzlich type: BOOL - name: Name type: STRING An existing WirkStoff entity should be loaded from the relative URL: "/ProduktService/wirkstoff/{id}" (HTTP-GET) If a new WirkStoff entity has been created, the new entity should be posted to the relative URL: "/ProduktService/wirkstoff" (HTTP-POST) If an existing WirkStoff entity has been updated, the modified entity should be sent to the relative URL: "/ProduktService/wirkstoff/{id}" (HTTP-PUT) If an existing WirkStoff entity has to be deleted, the following relative URL should be called: "/ProduktService/wirkstoff/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProduktWirkStoff columns: - column: Produkt - column: WirkStoff The table should have the title "ProduktWirkStoffs" und the data must be loaded from the server with the following relative URL: "/ProduktService/produktwirkstoff/wirkstoff/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum