Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StatistikJahrApp
Please create a React-JS application for the StatistikJahrModule. The application has to offer the following views for the user interface: 1. BaeckereiStatistikView 2. GroessenklasseView 3. StatistikJahrView 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: LONG - name: AnzahlBaeckereien type: LONG - name: AnzahlMitarbeiter type: LONG - 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: "/StatistikJahrService/statistikjahr" (HTTP-GET) The data source for the [Groessenklasse] select control should be loaded from the relative URL: "/StatistikJahrService/groessenklasse" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/AdresseService/land" (HTTP-GET) An existing BaeckereiStatistik entity should be loaded from the relative URL: "/StatistikJahrService/baeckereistatistik/{id}" (HTTP-GET) If a new BaeckereiStatistik entity has been created, the new entity should be posted to the relative URL: "/StatistikJahrService/baeckereistatistik" (HTTP-POST) If an existing BaeckereiStatistik entity has been updated, the modified entity should be sent to the relative URL: "/StatistikJahrService/baeckereistatistik/{id}" (HTTP-PUT) If an existing BaeckereiStatistik entity has to be deleted, the following relative URL should be called: "/StatistikJahrService/baeckereistatistik/{id}" (HTTP-DELETE) 2. The GroessenklasseView must contain the following fields: - name: MaximalUmsatz type: DOUBLE - name: MindestUmsatz type: DOUBLE - name: Name type: STRING An existing Groessenklasse entity should be loaded from the relative URL: "/StatistikJahrService/groessenklasse/{id}" (HTTP-GET) If a new Groessenklasse entity has been created, the new entity should be posted to the relative URL: "/StatistikJahrService/groessenklasse" (HTTP-POST) If an existing Groessenklasse entity has been updated, the modified entity should be sent to the relative URL: "/StatistikJahrService/groessenklasse/{id}" (HTTP-PUT) If an existing Groessenklasse entity has to be deleted, the following relative URL should be called: "/StatistikJahrService/groessenklasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BaeckereiStatistik columns: - column: StatistikJahr - column: AnzahlBaeckereien - column: Groessenklasse - column: GesamtUmsatzMioEuro - column: Land - column: AnzahlAzubis - column: AnzahlMitarbeiter The table should have the title "BaeckereiStatistiks" und the data must be loaded from the server with the following relative URL: "/StatistikJahrService/baeckereistatistik/groessenklasse/{id}" 3. The StatistikJahrView must contain the following fields: - name: Jahr type: LONG An existing StatistikJahr entity should be loaded from the relative URL: "/StatistikJahrService/statistikjahr/{id}" (HTTP-GET) If a new StatistikJahr entity has been created, the new entity should be posted to the relative URL: "/StatistikJahrService/statistikjahr" (HTTP-POST) If an existing StatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/StatistikJahrService/statistikjahr/{id}" (HTTP-PUT) If an existing StatistikJahr entity has to be deleted, the following relative URL should be called: "/StatistikJahrService/statistikjahr/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BaeckereiStatistik columns: - column: StatistikJahr - column: AnzahlBaeckereien - column: Groessenklasse - column: GesamtUmsatzMioEuro - column: Land - column: AnzahlAzubis - column: AnzahlMitarbeiter The table should have the title "BaeckereiStatistiks" und the data must be loaded from the server with the following relative URL: "/StatistikJahrService/baeckereistatistik/statistikjahr/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum