Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SozialprojektApp
Please create a React-JS application for the SozialprojektModule. The application has to offer the following views for the user interface: 1. PraxisSozialprojektView 2. SozialprojektView 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 PraxisSozialprojektView must contain the following fields: - name: Beschreibung type: STRING - name: Enddatum type: DATE - name: Praxis type: Praxis - name: Sozialprojekt type: Sozialprojekt - name: Startdatum type: DATE The data source for the [Sozialprojekt] select control should be loaded from the relative URL: "/SozialprojektService/sozialprojekt" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) An existing PraxisSozialprojekt entity should be loaded from the relative URL: "/SozialprojektService/praxissozialprojekt/{id}" (HTTP-GET) If a new PraxisSozialprojekt entity has been created, the new entity should be posted to the relative URL: "/SozialprojektService/praxissozialprojekt" (HTTP-POST) If an existing PraxisSozialprojekt entity has been updated, the modified entity should be sent to the relative URL: "/SozialprojektService/praxissozialprojekt/{id}" (HTTP-PUT) If an existing PraxisSozialprojekt entity has to be deleted, the following relative URL should be called: "/SozialprojektService/praxissozialprojekt/{id}" (HTTP-DELETE) 2. The SozialprojektView must contain the following fields: - name: Beschreibung type: STRING - name: Enddatum type: DATE - name: Finanzierungsmodell type: STRING - name: Name type: STRING - name: Startdatum type: DATE An existing Sozialprojekt entity should be loaded from the relative URL: "/SozialprojektService/sozialprojekt/{id}" (HTTP-GET) If a new Sozialprojekt entity has been created, the new entity should be posted to the relative URL: "/SozialprojektService/sozialprojekt" (HTTP-POST) If an existing Sozialprojekt entity has been updated, the modified entity should be sent to the relative URL: "/SozialprojektService/sozialprojekt/{id}" (HTTP-PUT) If an existing Sozialprojekt entity has to be deleted, the following relative URL should be called: "/SozialprojektService/sozialprojekt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PraxisSozialprojekt columns: - column: Sozialprojekt - column: Beschreibung - column: Praxis - column: Startdatum - column: Enddatum The table should have the title "PraxisSozialprojekts" und the data must be loaded from the server with the following relative URL: "/SozialprojektService/praxissozialprojekt/sozialprojekt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum