Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ProduktionsstandortApp
Please create a React-JS application for the ProduktionsstandortModule. The application has to offer the following views for the user interface: 1. ProduktionsstandortView 2. SchichtView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The ProduktionsstandortView must contain the following fields: - name: Adresse type: Adresse - name: Baeckerei type: Baeckerei - name: HatBackstubenMuseum type: BOOL - name: IstVollautomatisiert type: BOOL - name: Name type: STRING - name: Produktionsskala type: STRING The data source for the [Adresse] select control should be loaded from the relative URL: "/AdresseService/adresse" (HTTP-GET) The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) An existing Produktionsstandort entity should be loaded from the relative URL: "/ProduktionsstandortService/produktionsstandort/{id}" (HTTP-GET) If a new Produktionsstandort entity has been created, the new entity should be posted to the relative URL: "/ProduktionsstandortService/produktionsstandort" (HTTP-POST) If an existing Produktionsstandort entity has been updated, the modified entity should be sent to the relative URL: "/ProduktionsstandortService/produktionsstandort/{id}" (HTTP-PUT) If an existing Produktionsstandort entity has to be deleted, the following relative URL should be called: "/ProduktionsstandortService/produktionsstandort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schicht columns: - column: Produktionsstandort - column: Startzeit - column: Endzeit - column: Beschreibung The table should have the title "Schichts" und the data must be loaded from the server with the following relative URL: "/ProduktionsstandortService/schicht/produktionsstandort/{id}" Add a HTML table to the view with the following Backstube columns: - column: Name - column: FlaecheQm - column: Produktionsstandort - column: MaximaleTagesproduktion The table should have the title "Backstubes" und the data must be loaded from the server with the following relative URL: "/BackstubeService/backstube/produktionsstandort/{id}" 2. The SchichtView must contain the following fields: - name: Beschreibung type: STRING - name: Endzeit type: DATE - name: Produktionsstandort type: Produktionsstandort - name: Startzeit type: DATE The data source for the [Produktionsstandort] select control should be loaded from the relative URL: "/ProduktionsstandortService/produktionsstandort" (HTTP-GET) An existing Schicht entity should be loaded from the relative URL: "/ProduktionsstandortService/schicht/{id}" (HTTP-GET) If a new Schicht entity has been created, the new entity should be posted to the relative URL: "/ProduktionsstandortService/schicht" (HTTP-POST) If an existing Schicht entity has been updated, the modified entity should be sent to the relative URL: "/ProduktionsstandortService/schicht/{id}" (HTTP-PUT) If an existing Schicht entity has to be deleted, the following relative URL should be called: "/ProduktionsstandortService/schicht/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum