Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. BaeckereiStatistikView 2. LandView 3. ProduktkategorieView 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 BaeckereiStatistikView must contain the following fields: - name: AnzahlAzubis type: INT - name: AnzahlBaeckereien type: INT - name: AnzahlMitarbeiter type: INT - name: GesamtUmsatzMioEuro type: DOUBLE - name: Groessenklasse type: Groessenklasse - name: Land type: Land - name: StatistikJahr type: StatistikJahr The data source for the [StatistikJahr] select control should be loaded from the relative URL: "/BaeckereiService/statistikjahr" (HTTP-GET) The data source for the [Groessenklasse] select control should be loaded from the relative URL: "/LiteraturService/groessenklasse" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing BaeckereiStatistik entity should be loaded from the relative URL: "/LandService/baeckereistatistik/{id}" (HTTP-GET) If a new BaeckereiStatistik entity has been created, the new entity should be posted to the relative URL: "/LandService/baeckereistatistik" (HTTP-POST) If an existing BaeckereiStatistik entity has been updated, the modified entity should be sent to the relative URL: "/LandService/baeckereistatistik/{id}" (HTTP-PUT) If an existing BaeckereiStatistik entity has to be deleted, the following relative URL should be called: "/LandService/baeckereistatistik/{id}" (HTTP-DELETE) 2. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Region columns: - column: Land - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/RegionService/region/land/{id}" Add a HTML table to the view with the following BaeckereiStatistik columns: - column: AnzahlMitarbeiter - column: AnzahlBaeckereien - column: StatistikJahr - column: GesamtUmsatzMioEuro - column: Groessenklasse - column: AnzahlAzubis - column: Land The table should have the title "BaeckereiStatistiks" und the data must be loaded from the server with the following relative URL: "/LandService/baeckereistatistik/land/{id}" 3. The ProduktkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Produktkategorie entity should be loaded from the relative URL: "/LandService/produktkategorie/{id}" (HTTP-GET) If a new Produktkategorie entity has been created, the new entity should be posted to the relative URL: "/LandService/produktkategorie" (HTTP-POST) If an existing Produktkategorie entity has been updated, the modified entity should be sent to the relative URL: "/LandService/produktkategorie/{id}" (HTTP-PUT) If an existing Produktkategorie entity has to be deleted, the following relative URL should be called: "/LandService/produktkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Produkt columns: - column: IstSaisonal - column: IstHandgemacht - column: IstTiefgekuehlt - column: Name - column: Produktkategorie - column: Baeckerei The table should have the title "Produkts" und the data must be loaded from the server with the following relative URL: "/ZutatService/produkt/produktkategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum