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. GesetzArtikelView 3. VereinGesetzView 4. VereinVerbandView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: Gesetzestyp type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Kurztitel type: STRING - name: Land type: Land - name: Titel type: STRING - name: Zitierweise type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/VereinService/land" (HTTP-GET) 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 GesetzArtikel columns: - column: Titel - column: Absatz - column: Text - column: Artikelnummer - column: Gesetz The table should have the title "GesetzArtikels" und the data must be loaded from the server with the following relative URL: "/GesetzService/gesetzartikel/gesetz/{id}" Add a HTML table to the view with the following VereinGesetz columns: - column: Gesetz - column: Verein - column: Anwendungsbereich The table should have the title "VereinGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/vereingesetz/gesetz/{id}" 2. The GesetzArtikelView must contain the following fields: - name: Absatz type: STRING - name: Artikelnummer type: STRING - name: Gesetz type: Gesetz - name: Text type: STRING - name: Titel type: STRING The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing GesetzArtikel entity should be loaded from the relative URL: "/GesetzService/gesetzartikel/{id}" (HTTP-GET) If a new GesetzArtikel entity has been created, the new entity should be posted to the relative URL: "/GesetzService/gesetzartikel" (HTTP-POST) If an existing GesetzArtikel entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/gesetzartikel/{id}" (HTTP-PUT) If an existing GesetzArtikel entity has to be deleted, the following relative URL should be called: "/GesetzService/gesetzartikel/{id}" (HTTP-DELETE) 3. The VereinGesetzView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Gesetz type: Gesetz - name: Verein type: Verein The data source for the [Verein] select control should be loaded from the relative URL: "/VereinService/verein" (HTTP-GET) The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing VereinGesetz entity should be loaded from the relative URL: "/GesetzService/vereingesetz/{id}" (HTTP-GET) If a new VereinGesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/vereingesetz" (HTTP-POST) If an existing VereinGesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/vereingesetz/{id}" (HTTP-PUT) If an existing VereinGesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/vereingesetz/{id}" (HTTP-DELETE) 4. The VereinVerbandView must contain the following fields: - name: Dachverband type: LONG - name: SeitDatum type: DATE - name: UntergeordneterVerein type: LONG An existing VereinVerband entity should be loaded from the relative URL: "/GesetzService/vereinverband/{id}" (HTTP-GET) If a new VereinVerband entity has been created, the new entity should be posted to the relative URL: "/GesetzService/vereinverband" (HTTP-POST) If an existing VereinVerband entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/vereinverband/{id}" (HTTP-PUT) If an existing VereinVerband entity has to be deleted, the following relative URL should be called: "/GesetzService/vereinverband/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum