Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BackstubeApp
Please create a React-JS application for the BackstubeModule. The application has to offer the following views for the user interface: 1. BackstubeView 2. MaschineView 3. OfenView 4. ProduktionsstandortView 5. 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 5 views are defined below. 1. The BackstubeView must contain the following fields: - name: FlaecheQm type: DOUBLE - name: MaximaleTagesproduktion type: DOUBLE - name: Name type: STRING - name: Produktionsstandort type: Produktionsstandort The data source for the [Produktionsstandort] select control should be loaded from the relative URL: "/BackstubeService/produktionsstandort" (HTTP-GET) An existing Backstube entity should be loaded from the relative URL: "/BackstubeService/backstube/{id}" (HTTP-GET) If a new Backstube entity has been created, the new entity should be posted to the relative URL: "/BackstubeService/backstube" (HTTP-POST) If an existing Backstube entity has been updated, the modified entity should be sent to the relative URL: "/BackstubeService/backstube/{id}" (HTTP-PUT) If an existing Backstube entity has to be deleted, the following relative URL should be called: "/BackstubeService/backstube/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ofen columns: - column: Baujahr - column: KapazitaetKg - column: Backstube - column: IstGemauert - column: Ofentyp The table should have the title "Ofens" und the data must be loaded from the server with the following relative URL: "/BackstubeService/ofen/backstube/{id}" Add a HTML table to the view with the following Maschine columns: - column: IstGekapselt - column: Beschreibung - column: Maschinentyp - column: Backstube The table should have the title "Maschines" und the data must be loaded from the server with the following relative URL: "/BackstubeService/maschine/backstube/{id}" 2. The MaschineView must contain the following fields: - name: Backstube type: Backstube - name: Beschreibung type: STRING - name: IstGekapselt type: BOOL - name: Maschinentyp type: STRING The data source for the [Backstube] select control should be loaded from the relative URL: "/BackstubeService/backstube" (HTTP-GET) An existing Maschine entity should be loaded from the relative URL: "/BackstubeService/maschine/{id}" (HTTP-GET) If a new Maschine entity has been created, the new entity should be posted to the relative URL: "/BackstubeService/maschine" (HTTP-POST) If an existing Maschine entity has been updated, the modified entity should be sent to the relative URL: "/BackstubeService/maschine/{id}" (HTTP-PUT) If an existing Maschine entity has to be deleted, the following relative URL should be called: "/BackstubeService/maschine/{id}" (HTTP-DELETE) 3. The OfenView must contain the following fields: - name: Backstube type: Backstube - name: Baujahr type: LONG - name: IstGemauert type: BOOL - name: KapazitaetKg type: DOUBLE - name: Ofentyp type: STRING The data source for the [Backstube] select control should be loaded from the relative URL: "/BackstubeService/backstube" (HTTP-GET) An existing Ofen entity should be loaded from the relative URL: "/BackstubeService/ofen/{id}" (HTTP-GET) If a new Ofen entity has been created, the new entity should be posted to the relative URL: "/BackstubeService/ofen" (HTTP-POST) If an existing Ofen entity has been updated, the modified entity should be sent to the relative URL: "/BackstubeService/ofen/{id}" (HTTP-PUT) If an existing Ofen entity has to be deleted, the following relative URL should be called: "/BackstubeService/ofen/{id}" (HTTP-DELETE) 4. 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: "/BackstubeService/produktionsstandort/{id}" (HTTP-GET) If a new Produktionsstandort entity has been created, the new entity should be posted to the relative URL: "/BackstubeService/produktionsstandort" (HTTP-POST) If an existing Produktionsstandort entity has been updated, the modified entity should be sent to the relative URL: "/BackstubeService/produktionsstandort/{id}" (HTTP-PUT) If an existing Produktionsstandort entity has to be deleted, the following relative URL should be called: "/BackstubeService/produktionsstandort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Backstube columns: - column: Produktionsstandort - column: Name - column: FlaecheQm - 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}" 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: "/BackstubeService/schicht/produktionsstandort/{id}" 5. 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: "/BackstubeService/produktionsstandort" (HTTP-GET) An existing Schicht entity should be loaded from the relative URL: "/BackstubeService/schicht/{id}" (HTTP-GET) If a new Schicht entity has been created, the new entity should be posted to the relative URL: "/BackstubeService/schicht" (HTTP-POST) If an existing Schicht entity has been updated, the modified entity should be sent to the relative URL: "/BackstubeService/schicht/{id}" (HTTP-PUT) If an existing Schicht entity has to be deleted, the following relative URL should be called: "/BackstubeService/schicht/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum