Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GesetzApp
Please create a React-JS application for the GesetzModule. The application has to offer the following views for the user interface: 1. GesetzView 2. VerfahrenGesetzView 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 GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: Ebene type: STRING - name: Name type: STRING - name: Zitat type: STRING An existing Gesetz entity should be loaded from the relative URL: "/GesetzService/gesetz/{id}" (HTTP-GET) If a new Gesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/gesetz" (HTTP-POST) If an existing Gesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/gesetz/{id}" (HTTP-PUT) If an existing Gesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/gesetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerfahrenGesetz columns: - column: Gesetz - column: Referenztext - column: Verfahren The table should have the title "VerfahrenGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/verfahrengesetz/gesetz/{id}" Add a HTML table to the view with the following GerichtGesetz columns: - column: Gericht - column: Gesetz The table should have the title "GerichtGesetzs" und the data must be loaded from the server with the following relative URL: "/GerichtService/gerichtgesetz/gesetz/{id}" 2. The VerfahrenGesetzView must contain the following fields: - name: Gesetz type: Gesetz - name: Referenztext type: STRING - name: Verfahren type: Verfahren The data source for the [Verfahren] select control should be loaded from the relative URL: "/VerfahrenService/verfahren" (HTTP-GET) The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing VerfahrenGesetz entity should be loaded from the relative URL: "/GesetzService/verfahrengesetz/{id}" (HTTP-GET) If a new VerfahrenGesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/verfahrengesetz" (HTTP-POST) If an existing VerfahrenGesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/verfahrengesetz/{id}" (HTTP-PUT) If an existing VerfahrenGesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/verfahrengesetz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum