Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SammelSystemApp
Please create a React-JS application for the SammelSystemModule. The application has to offer the following views for the user interface: 1. RecyclingProzessSchrittView 2. SammelStelleView 3. SammelSystemView 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 RecyclingProzessSchrittView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: Beschreibung type: STRING - name: Name type: STRING - name: Optional type: BOOL - name: RecyclingAnlage type: RecyclingAnlage - name: SchrittNummer type: INT - name: SensorEinsatz type: BOOL The data source for the [RecyclingAnlage] select control should be loaded from the relative URL: "/GlasKategorieService/recyclinganlage" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) An existing RecyclingProzessSchritt entity should be loaded from the relative URL: "/SammelSystemService/recyclingprozessschritt/{id}" (HTTP-GET) If a new RecyclingProzessSchritt entity has been created, the new entity should be posted to the relative URL: "/SammelSystemService/recyclingprozessschritt" (HTTP-POST) If an existing RecyclingProzessSchritt entity has been updated, the modified entity should be sent to the relative URL: "/SammelSystemService/recyclingprozessschritt/{id}" (HTTP-PUT) If an existing RecyclingProzessSchritt entity has to be deleted, the following relative URL should be called: "/SammelSystemService/recyclingprozessschritt/{id}" (HTTP-DELETE) 2. The SammelStelleView must contain the following fields: - name: EinwohnerAbdeckung type: INT - name: Laermreduziert type: BOOL - name: SammelSystem type: SammelSystem - name: Sauberkeitsverbessert type: BOOL - name: StandortBeschreibung type: STRING The data source for the [SammelSystem] select control should be loaded from the relative URL: "/SammelSystemService/sammelsystem" (HTTP-GET) An existing SammelStelle entity should be loaded from the relative URL: "/SammelSystemService/sammelstelle/{id}" (HTTP-GET) If a new SammelStelle entity has been created, the new entity should be posted to the relative URL: "/SammelSystemService/sammelstelle" (HTTP-POST) If an existing SammelStelle entity has been updated, the modified entity should be sent to the relative URL: "/SammelSystemService/sammelstelle/{id}" (HTTP-PUT) If an existing SammelStelle entity has to be deleted, the following relative URL should be called: "/SammelSystemService/sammelstelle/{id}" (HTTP-DELETE) 3. The SammelSystemView must contain the following fields: - name: Beschreibung type: STRING - name: Land type: Land - name: Name type: STRING - name: SystemTyp type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing SammelSystem entity should be loaded from the relative URL: "/SammelSystemService/sammelsystem/{id}" (HTTP-GET) If a new SammelSystem entity has been created, the new entity should be posted to the relative URL: "/SammelSystemService/sammelsystem" (HTTP-POST) If an existing SammelSystem entity has been updated, the modified entity should be sent to the relative URL: "/SammelSystemService/sammelsystem/{id}" (HTTP-PUT) If an existing SammelSystem entity has to be deleted, the following relative URL should be called: "/SammelSystemService/sammelsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SammelStelle columns: - column: Sauberkeitsverbessert - column: EinwohnerAbdeckung - column: SammelSystem - column: Laermreduziert - column: StandortBeschreibung The table should have the title "SammelStelles" und the data must be loaded from the server with the following relative URL: "/SammelSystemService/sammelstelle/sammelsystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum