Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RecyclingstromApp
Please create a React-JS application for the RecyclingstromModule. The application has to offer the following views for the user interface: 1. AbfallartRecyclingstromView 2. RecyclingstromView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AbfallartRecyclingstromView must contain the following fields: - name: Abfallart type: Abfallart - name: Recyclingstrom type: Recyclingstrom The data source for the [Recyclingstrom] select control should be loaded from the relative URL: "/RecyclingstromService/recyclingstrom" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing AbfallartRecyclingstrom entity should be loaded from the relative URL: "/RecyclingstromService/abfallartrecyclingstrom/{id}" (HTTP-GET) If a new AbfallartRecyclingstrom entity has been created, the new entity should be posted to the relative URL: "/RecyclingstromService/abfallartrecyclingstrom" (HTTP-POST) If an existing AbfallartRecyclingstrom entity has been updated, the modified entity should be sent to the relative URL: "/RecyclingstromService/abfallartrecyclingstrom/{id}" (HTTP-PUT) If an existing AbfallartRecyclingstrom entity has to be deleted, the following relative URL should be called: "/RecyclingstromService/abfallartrecyclingstrom/{id}" (HTTP-DELETE) 2. The RecyclingstromView must contain the following fields: - name: Beschreibung type: STRING - name: IstGetrenntsammlung type: BOOL - name: Name type: STRING An existing Recyclingstrom entity should be loaded from the relative URL: "/RecyclingstromService/recyclingstrom/{id}" (HTTP-GET) If a new Recyclingstrom entity has been created, the new entity should be posted to the relative URL: "/RecyclingstromService/recyclingstrom" (HTTP-POST) If an existing Recyclingstrom entity has been updated, the modified entity should be sent to the relative URL: "/RecyclingstromService/recyclingstrom/{id}" (HTTP-PUT) If an existing Recyclingstrom entity has to be deleted, the following relative URL should be called: "/RecyclingstromService/recyclingstrom/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AbfallartRecyclingstrom columns: - column: Abfallart - column: Recyclingstrom The table should have the title "AbfallartRecyclingstroms" und the data must be loaded from the server with the following relative URL: "/RecyclingstromService/abfallartrecyclingstrom/recyclingstrom/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum