Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ErziehungsmethodeApp
Please create a React-JS application for the ErziehungsmethodeModule. The application has to offer the following views for the user interface: 1. ErziehungsmethodeView 2. KursErziehungsmethodeView 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 ErziehungsmethodeView must contain the following fields: - name: Beschreibung type: STRING - name: IstAversiv type: BOOL - name: IstModern type: BOOL - name: Name type: STRING - name: Quelle type: STRING An existing Erziehungsmethode entity should be loaded from the relative URL: "/ErziehungsmethodeService/erziehungsmethode/{id}" (HTTP-GET) If a new Erziehungsmethode entity has been created, the new entity should be posted to the relative URL: "/ErziehungsmethodeService/erziehungsmethode" (HTTP-POST) If an existing Erziehungsmethode entity has been updated, the modified entity should be sent to the relative URL: "/ErziehungsmethodeService/erziehungsmethode/{id}" (HTTP-PUT) If an existing Erziehungsmethode entity has to be deleted, the following relative URL should be called: "/ErziehungsmethodeService/erziehungsmethode/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursErziehungsmethode columns: - column: Kurs - column: Erziehungsmethode The table should have the title "KursErziehungsmethodes" und the data must be loaded from the server with the following relative URL: "/ErziehungsmethodeService/kurserziehungsmethode/erziehungsmethode/{id}" 2. The KursErziehungsmethodeView must contain the following fields: - name: Erziehungsmethode type: Erziehungsmethode - name: Kurs type: Kurs The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) The data source for the [Erziehungsmethode] select control should be loaded from the relative URL: "/ErziehungsmethodeService/erziehungsmethode" (HTTP-GET) An existing KursErziehungsmethode entity should be loaded from the relative URL: "/ErziehungsmethodeService/kurserziehungsmethode/{id}" (HTTP-GET) If a new KursErziehungsmethode entity has been created, the new entity should be posted to the relative URL: "/ErziehungsmethodeService/kurserziehungsmethode" (HTTP-POST) If an existing KursErziehungsmethode entity has been updated, the modified entity should be sent to the relative URL: "/ErziehungsmethodeService/kurserziehungsmethode/{id}" (HTTP-PUT) If an existing KursErziehungsmethode entity has to be deleted, the following relative URL should be called: "/ErziehungsmethodeService/kurserziehungsmethode/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum