Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VerbandApp
Please create a React-JS application for the VerbandModule. The application has to offer the following views for the user interface: 1. VerbandView 2. VerbandMitgliedschaftView 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 VerbandView must contain the following fields: - name: Bundesland type: Bundesland - name: Name type: STRING - name: Staat type: Staat - name: Typ type: STRING - name: Webseite type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) The data source for the [Staat] select control should be loaded from the relative URL: "/StaatService/staat" (HTTP-GET) An existing Verband entity should be loaded from the relative URL: "/VerbandService/verband/{id}" (HTTP-GET) If a new Verband entity has been created, the new entity should be posted to the relative URL: "/VerbandService/verband" (HTTP-POST) If an existing Verband entity has been updated, the modified entity should be sent to the relative URL: "/VerbandService/verband/{id}" (HTTP-PUT) If an existing Verband entity has to be deleted, the following relative URL should be called: "/VerbandService/verband/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerbandMitgliedschaft columns: - column: Verband - column: Tagespflegeperson - column: VonDatum - column: BisDatum - column: Rolle The table should have the title "VerbandMitgliedschafts" und the data must be loaded from the server with the following relative URL: "/VerbandService/verbandmitgliedschaft/verband/{id}" 2. The VerbandMitgliedschaftView must contain the following fields: - name: BisDatum type: DATE - name: Rolle type: STRING - name: Tagespflegeperson type: LONG - name: Verband type: Verband - name: VonDatum type: DATE The data source for the [Verband] select control should be loaded from the relative URL: "/VerbandService/verband" (HTTP-GET) An existing VerbandMitgliedschaft entity should be loaded from the relative URL: "/VerbandService/verbandmitgliedschaft/{id}" (HTTP-GET) If a new VerbandMitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/VerbandService/verbandmitgliedschaft" (HTTP-POST) If an existing VerbandMitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/VerbandService/verbandmitgliedschaft/{id}" (HTTP-PUT) If an existing VerbandMitgliedschaft entity has to be deleted, the following relative URL should be called: "/VerbandService/verbandmitgliedschaft/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum