Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegalzoneApp
Please create a React-JS application for the RegalzoneModule. The application has to offer the following views for the user interface: 1. ArtikelView 2. RegalView 3. RegalplatzierungView 4. RegalzoneView 5. WarengruppeView 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 ArtikelView must contain the following fields: - name: Fuellmenge type: STRING - name: Handelsmarke type: STRING - name: HerstellerMarke type: STRING - name: IstBio type: BOOL - name: IstFrischware type: BOOL - name: IstNonFood type: BOOL - name: Mindesthaltbarkeitsdatum type: DATE - name: Name type: STRING - name: Packungseinheit type: STRING - name: PreisBrutto type: STRING - name: Regal type: Regal - name: Regalzone type: Regalzone - name: Waehrung type: STRING - name: Warengruppe type: Warengruppe The data source for the [Warengruppe] select control should be loaded from the relative URL: "/RegalzoneService/warengruppe" (HTTP-GET) The data source for the [Regal] select control should be loaded from the relative URL: "/RegalzoneService/regal" (HTTP-GET) The data source for the [Regalzone] select control should be loaded from the relative URL: "/RegalzoneService/regalzone" (HTTP-GET) An existing Artikel entity should be loaded from the relative URL: "/RegalzoneService/artikel/{id}" (HTTP-GET) If a new Artikel entity has been created, the new entity should be posted to the relative URL: "/RegalzoneService/artikel" (HTTP-POST) If an existing Artikel entity has been updated, the modified entity should be sent to the relative URL: "/RegalzoneService/artikel/{id}" (HTTP-PUT) If an existing Artikel entity has to be deleted, the following relative URL should be called: "/RegalzoneService/artikel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Regalplatzierung columns: - column: Platzierungsdatum - column: Regal - column: Regalzone - column: Artikel - column: PraemieEuro The table should have the title "Regalplatzierungs" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/regalplatzierung/artikel/{id}" 2. The RegalView must contain the following fields: - name: Bereich type: STRING - name: GangNummer type: INT - name: PositionBeschreibung type: STRING - name: Supermarkt type: Supermarkt The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) An existing Regal entity should be loaded from the relative URL: "/RegalzoneService/regal/{id}" (HTTP-GET) If a new Regal entity has been created, the new entity should be posted to the relative URL: "/RegalzoneService/regal" (HTTP-POST) If an existing Regal entity has been updated, the modified entity should be sent to the relative URL: "/RegalzoneService/regal/{id}" (HTTP-PUT) If an existing Regal entity has to be deleted, the following relative URL should be called: "/RegalzoneService/regal/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Artikel columns: - column: Warengruppe - column: Regal - column: IstNonFood - column: Fuellmenge - column: Packungseinheit - column: HerstellerMarke - column: Name - column: Regalzone - column: Waehrung - column: IstBio - column: PreisBrutto - column: Handelsmarke - column: Mindesthaltbarkeitsdatum - column: IstFrischware The table should have the title "Artikels" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/artikel/regal/{id}" Add a HTML table to the view with the following Regalplatzierung columns: - column: Platzierungsdatum - column: Regal - column: Regalzone - column: Artikel - column: PraemieEuro The table should have the title "Regalplatzierungs" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/regalplatzierung/regal/{id}" 3. The RegalplatzierungView must contain the following fields: - name: Artikel type: Artikel - name: Platzierungsdatum type: DATE - name: PraemieEuro type: STRING - name: Regal type: Regal - name: Regalzone type: Regalzone The data source for the [Artikel] select control should be loaded from the relative URL: "/RegalzoneService/artikel" (HTTP-GET) The data source for the [Regal] select control should be loaded from the relative URL: "/RegalzoneService/regal" (HTTP-GET) The data source for the [Regalzone] select control should be loaded from the relative URL: "/RegalzoneService/regalzone" (HTTP-GET) An existing Regalplatzierung entity should be loaded from the relative URL: "/RegalzoneService/regalplatzierung/{id}" (HTTP-GET) If a new Regalplatzierung entity has been created, the new entity should be posted to the relative URL: "/RegalzoneService/regalplatzierung" (HTTP-POST) If an existing Regalplatzierung entity has been updated, the modified entity should be sent to the relative URL: "/RegalzoneService/regalplatzierung/{id}" (HTTP-PUT) If an existing Regalplatzierung entity has to be deleted, the following relative URL should be called: "/RegalzoneService/regalplatzierung/{id}" (HTTP-DELETE) 4. The RegalzoneView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: HoechstHoeheCm type: INT - name: MindestHoeheCm type: INT An existing Regalzone entity should be loaded from the relative URL: "/RegalzoneService/regalzone/{id}" (HTTP-GET) If a new Regalzone entity has been created, the new entity should be posted to the relative URL: "/RegalzoneService/regalzone" (HTTP-POST) If an existing Regalzone entity has been updated, the modified entity should be sent to the relative URL: "/RegalzoneService/regalzone/{id}" (HTTP-PUT) If an existing Regalzone entity has to be deleted, the following relative URL should be called: "/RegalzoneService/regalzone/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Artikel columns: - column: Warengruppe - column: Regal - column: IstNonFood - column: Fuellmenge - column: Packungseinheit - column: HerstellerMarke - column: Name - column: Regalzone - column: Waehrung - column: IstBio - column: PreisBrutto - column: Handelsmarke - column: Mindesthaltbarkeitsdatum - column: IstFrischware The table should have the title "Artikels" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/artikel/regalzone/{id}" Add a HTML table to the view with the following Regalplatzierung columns: - column: Platzierungsdatum - column: Regal - column: Regalzone - column: Artikel - column: PraemieEuro The table should have the title "Regalplatzierungs" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/regalplatzierung/regalzone/{id}" 5. The WarengruppeView must contain the following fields: - name: Beschreibung type: STRING - name: IstLebensmittel type: BOOL - name: IstNonFood type: BOOL - name: Name type: STRING An existing Warengruppe entity should be loaded from the relative URL: "/RegalzoneService/warengruppe/{id}" (HTTP-GET) If a new Warengruppe entity has been created, the new entity should be posted to the relative URL: "/RegalzoneService/warengruppe" (HTTP-POST) If an existing Warengruppe entity has been updated, the modified entity should be sent to the relative URL: "/RegalzoneService/warengruppe/{id}" (HTTP-PUT) If an existing Warengruppe entity has to be deleted, the following relative URL should be called: "/RegalzoneService/warengruppe/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Artikel columns: - column: Warengruppe - column: Regal - column: IstNonFood - column: Fuellmenge - column: Packungseinheit - column: HerstellerMarke - column: Name - column: Regalzone - column: Waehrung - column: IstBio - column: PreisBrutto - column: Handelsmarke - column: Mindesthaltbarkeitsdatum - column: IstFrischware The table should have the title "Artikels" und the data must be loaded from the server with the following relative URL: "/RegalzoneService/artikel/warengruppe/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum