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 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 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: "/ProduktionsstandortService/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 Maschine columns: - column: Beschreibung - column: IstGekapselt - column: Backstube - column: Maschinentyp 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}" Add a HTML table to the view with the following Ofen columns: - column: Ofentyp - column: Baujahr - column: Backstube - column: IstGemauert - column: KapazitaetKg 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}" 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: INT - 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)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum