Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GlasKategorieApp
Please create a React-JS application for the GlasKategorieModule. The application has to offer the following views for the user interface: 1. EnergieDatenView 2. GlasKategorieView 3. RecyclingAnlageView 4. RegelungsZielView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The EnergieDatenView must contain the following fields: - name: EnergieProTonneGJ type: STRING - name: EnergieProTonneKWh type: STRING - name: GlasKategorie type: GlasKategorie - name: OfenTyp type: STRING - name: ProzessTyp type: STRING - name: Quelle type: STRING - name: RecyclingAnlage type: RecyclingAnlage - name: ScherbenAnteilProzent type: STRING The data source for the [GlasKategorie] select control should be loaded from the relative URL: "/GlasKategorieService/glaskategorie" (HTTP-GET) The data source for the [RecyclingAnlage] select control should be loaded from the relative URL: "/GlasKategorieService/recyclinganlage" (HTTP-GET) An existing EnergieDaten entity should be loaded from the relative URL: "/GlasKategorieService/energiedaten/{id}" (HTTP-GET) If a new EnergieDaten entity has been created, the new entity should be posted to the relative URL: "/GlasKategorieService/energiedaten" (HTTP-POST) If an existing EnergieDaten entity has been updated, the modified entity should be sent to the relative URL: "/GlasKategorieService/energiedaten/{id}" (HTTP-PUT) If an existing EnergieDaten entity has to be deleted, the following relative URL should be called: "/GlasKategorieService/energiedaten/{id}" (HTTP-DELETE) 2. The GlasKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing GlasKategorie entity should be loaded from the relative URL: "/GlasKategorieService/glaskategorie/{id}" (HTTP-GET) If a new GlasKategorie entity has been created, the new entity should be posted to the relative URL: "/GlasKategorieService/glaskategorie" (HTTP-POST) If an existing GlasKategorie entity has been updated, the modified entity should be sent to the relative URL: "/GlasKategorieService/glaskategorie/{id}" (HTTP-PUT) If an existing GlasKategorie entity has to be deleted, the following relative URL should be called: "/GlasKategorieService/glaskategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GlasProdukt columns: - column: Abfallstrom - column: Beschreibung - column: Name - column: GlasKategorie The table should have the title "GlasProdukts" und the data must be loaded from the server with the following relative URL: "/GlasProduktService/glasprodukt/glaskategorie/{id}" Add a HTML table to the view with the following EnergieDaten columns: - column: OfenTyp - column: Quelle - column: ProzessTyp - column: EnergieProTonneGJ - column: GlasKategorie - column: EnergieProTonneKWh - column: RecyclingAnlage - column: ScherbenAnteilProzent The table should have the title "EnergieDatens" und the data must be loaded from the server with the following relative URL: "/GlasKategorieService/energiedaten/glaskategorie/{id}" Add a HTML table to the view with the following RegelungsZiel columns: - column: Notizen - column: Regelung - column: ZielTyp - column: ZielProzent - column: ZielJahr - column: GlasKategorie - column: Abfallstrom The table should have the title "RegelungsZiels" und the data must be loaded from the server with the following relative URL: "/GlasKategorieService/regelungsziel/glaskategorie/{id}" Add a HTML table to the view with the following JahresStatistik columns: - column: GesammeltTonnen - column: RecyclingQuoteProzent - column: SammelQuoteProzent - column: Jahr - column: PostConsumerAnteilProzent - column: Notizen - column: RecyceltTonnen - column: MarktMengeTonnen - column: GlasKategorie - column: Region - column: Land The table should have the title "JahresStatistiks" und the data must be loaded from the server with the following relative URL: "/GlasProduktService/jahresstatistik/glaskategorie/{id}" 3. The RecyclingAnlageView must contain the following fields: - name: AnlagenTyp type: STRING - name: Beschreibung type: STRING - name: KapazitaetTonnenProJahr type: INT - name: Land type: Land - name: Name type: STRING - name: Stadt type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing RecyclingAnlage entity should be loaded from the relative URL: "/GlasKategorieService/recyclinganlage/{id}" (HTTP-GET) If a new RecyclingAnlage entity has been created, the new entity should be posted to the relative URL: "/GlasKategorieService/recyclinganlage" (HTTP-POST) If an existing RecyclingAnlage entity has been updated, the modified entity should be sent to the relative URL: "/GlasKategorieService/recyclinganlage/{id}" (HTTP-PUT) If an existing RecyclingAnlage entity has to be deleted, the following relative URL should be called: "/GlasKategorieService/recyclinganlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RecyclingProzessSchritt columns: - column: Optional - column: Name - column: Beschreibung - column: Abfallstrom - column: SchrittNummer - column: RecyclingAnlage - column: SensorEinsatz The table should have the title "RecyclingProzessSchritts" und the data must be loaded from the server with the following relative URL: "/SammelSystemService/recyclingprozessschritt/recyclinganlage/{id}" Add a HTML table to the view with the following EnergieDaten columns: - column: OfenTyp - column: Quelle - column: ProzessTyp - column: EnergieProTonneGJ - column: GlasKategorie - column: EnergieProTonneKWh - column: RecyclingAnlage - column: ScherbenAnteilProzent The table should have the title "EnergieDatens" und the data must be loaded from the server with the following relative URL: "/GlasKategorieService/energiedaten/recyclinganlage/{id}" 4. The RegelungsZielView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: GlasKategorie type: GlasKategorie - name: Notizen type: STRING - name: Regelung type: Regelung - name: ZielJahr type: INT - name: ZielProzent type: STRING - name: ZielTyp type: STRING The data source for the [GlasKategorie] select control should be loaded from the relative URL: "/GlasKategorieService/glaskategorie" (HTTP-GET) The data source for the [Regelung] select control should be loaded from the relative URL: "/LandService/regelung" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) An existing RegelungsZiel entity should be loaded from the relative URL: "/GlasKategorieService/regelungsziel/{id}" (HTTP-GET) If a new RegelungsZiel entity has been created, the new entity should be posted to the relative URL: "/GlasKategorieService/regelungsziel" (HTTP-POST) If an existing RegelungsZiel entity has been updated, the modified entity should be sent to the relative URL: "/GlasKategorieService/regelungsziel/{id}" (HTTP-PUT) If an existing RegelungsZiel entity has to be deleted, the following relative URL should be called: "/GlasKategorieService/regelungsziel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum