Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. BewegungPersonView 2. HistorischesEreignisView 3. PersonView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The BewegungPersonView must contain the following fields: - name: BewegungOderVerband type: BewegungOderVerband - name: Person type: Person - name: Rollenbeschreibung type: STRING The data source for the [BewegungOderVerband] select control should be loaded from the relative URL: "/SpracheService/bewegungoderverband" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing BewegungPerson entity should be loaded from the relative URL: "/PersonService/bewegungperson/{id}" (HTTP-GET) If a new BewegungPerson entity has been created, the new entity should be posted to the relative URL: "/PersonService/bewegungperson" (HTTP-POST) If an existing BewegungPerson entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/bewegungperson/{id}" (HTTP-PUT) If an existing BewegungPerson entity has to be deleted, the following relative URL should be called: "/PersonService/bewegungperson/{id}" (HTTP-DELETE) 2. The HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Ereignisdatum type: DATE - name: Land type: Land - name: Person type: Person - name: Titel type: STRING The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing HistorischesEreignis entity should be loaded from the relative URL: "/PersonService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/PersonService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/PersonService/historischesereignis/{id}" (HTTP-DELETE) 3. The PersonView must contain the following fields: - name: Biografie type: STRING - name: Geburtsjahr type: INT - name: Hauptbeitrag type: STRING - name: Nachname type: STRING - name: Todesjahr type: INT - name: Vorname type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischesEreignis columns: - column: Titel - column: Land - column: Person - column: Beschreibung - column: Ereignisdatum The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/PersonService/historischesereignis/person/{id}" Add a HTML table to the view with the following BewegungPerson columns: - column: Rollenbeschreibung - column: Person - column: BewegungOderVerband The table should have the title "BewegungPersons" und the data must be loaded from the server with the following relative URL: "/PersonService/bewegungperson/person/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum