Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitgliedApp
Please create a React-JS application for the MitgliedModule. The application has to offer the following views for the user interface: 1. MitgliedView 2. OrganView 3. OrganmitgliedView 4. OrgantypView 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 MitgliedView must contain the following fields: - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: IstMinderjaehrig type: BOOL - name: Nachname type: STRING - name: Staatsangehoerigkeit type: Land - name: Vorname type: STRING The data source for the [Staatsangehoerigkeit] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Mitglied entity should be loaded from the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-GET) If a new Mitglied entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/mitglied" (HTTP-POST) If an existing Mitglied entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-PUT) If an existing Mitglied entity has to be deleted, the following relative URL should be called: "/MitgliedService/mitglied/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mitgliedschaft columns: - column: IstAktiv - column: Verein - column: Eintrittsdatum - column: Mitgliedschaftsart - column: Mitglied - column: Austrittsdatum The table should have the title "Mitgliedschafts" und the data must be loaded from the server with the following relative URL: "/MitgliedschaftsartService/mitgliedschaft/mitglied/{id}" Add a HTML table to the view with the following Organmitglied columns: - column: BisDatum - column: Mitglied - column: VonDatum - column: Organ - column: Rolle - column: IstStimmberechtigt The table should have the title "Organmitglieds" und the data must be loaded from the server with the following relative URL: "/MitgliedService/organmitglied/mitglied/{id}" 2. The OrganView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Organtyp type: Organtyp - 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 [Organtyp] select control should be loaded from the relative URL: "/MitgliedService/organtyp" (HTTP-GET) An existing Organ entity should be loaded from the relative URL: "/MitgliedService/organ/{id}" (HTTP-GET) If a new Organ entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/organ" (HTTP-POST) If an existing Organ entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/organ/{id}" (HTTP-PUT) If an existing Organ entity has to be deleted, the following relative URL should be called: "/MitgliedService/organ/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Versammlung columns: - column: Ort - column: IstAusserordentlich - column: IstOeffentlich - column: Organ - column: Versammlungstyp - column: Datum The table should have the title "Versammlungs" und the data must be loaded from the server with the following relative URL: "/VersammlungService/versammlung/organ/{id}" Add a HTML table to the view with the following Organmitglied columns: - column: BisDatum - column: Mitglied - column: VonDatum - column: Organ - column: Rolle - column: IstStimmberechtigt The table should have the title "Organmitglieds" und the data must be loaded from the server with the following relative URL: "/MitgliedService/organmitglied/organ/{id}" 3. The OrganmitgliedView must contain the following fields: - name: BisDatum type: DATE - name: IstStimmberechtigt type: BOOL - name: Mitglied type: Mitglied - name: Organ type: Organ - name: Rolle type: STRING - name: VonDatum type: DATE The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [Organ] select control should be loaded from the relative URL: "/MitgliedService/organ" (HTTP-GET) An existing Organmitglied entity should be loaded from the relative URL: "/MitgliedService/organmitglied/{id}" (HTTP-GET) If a new Organmitglied entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/organmitglied" (HTTP-POST) If an existing Organmitglied entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/organmitglied/{id}" (HTTP-PUT) If an existing Organmitglied entity has to be deleted, the following relative URL should be called: "/MitgliedService/organmitglied/{id}" (HTTP-DELETE) 4. The OrgantypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING - name: IstPflichtorgan type: BOOL An existing Organtyp entity should be loaded from the relative URL: "/MitgliedService/organtyp/{id}" (HTTP-GET) If a new Organtyp entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/organtyp" (HTTP-POST) If an existing Organtyp entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/organtyp/{id}" (HTTP-PUT) If an existing Organtyp entity has to be deleted, the following relative URL should be called: "/MitgliedService/organtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Organ columns: - column: Beschreibung - column: Verein - column: Organtyp - column: Name The table should have the title "Organs" und the data must be loaded from the server with the following relative URL: "/MitgliedService/organ/organtyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum