Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ProgrammApp
Please create a React-JS application for the ProgrammModule. The application has to offer the following views for the user interface: 1. PersonView 2. ProgrammView 3. ProgrammTeilnahmeView 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 PersonView must contain the following fields: - name: Besonderheiten type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Haushalt type: Haushalt - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Haushalt] select control should be loaded from the relative URL: "/LokaleTafelService/haushalt" (HTTP-GET) An existing Person entity should be loaded from the relative URL: "/ProgrammService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/ProgrammService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/ProgrammService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/ProgrammService/person/{id}" (HTTP-DELETE) 2. The ProgrammView must contain the following fields: - name: Beschreibung type: STRING - name: BisDatum type: DATE - name: Bundesverband type: Bundesverband - name: Name type: STRING - name: ProgrammTyp type: STRING - name: VonDatum type: DATE The data source for the [Bundesverband] select control should be loaded from the relative URL: "/BundesverbandService/bundesverband" (HTTP-GET) An existing Programm entity should be loaded from the relative URL: "/ProgrammService/programm/{id}" (HTTP-GET) If a new Programm entity has been created, the new entity should be posted to the relative URL: "/ProgrammService/programm" (HTTP-POST) If an existing Programm entity has been updated, the modified entity should be sent to the relative URL: "/ProgrammService/programm/{id}" (HTTP-PUT) If an existing Programm entity has to be deleted, the following relative URL should be called: "/ProgrammService/programm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProgrammTeilnahme columns: - column: LokaleTafel - column: AustrittDatum - column: Programm - column: BeitrittDatum - column: Status The table should have the title "ProgrammTeilnahmes" und the data must be loaded from the server with the following relative URL: "/ProgrammService/programmteilnahme/programm/{id}" 3. The ProgrammTeilnahmeView must contain the following fields: - name: AustrittDatum type: DATE - name: BeitrittDatum type: DATE - name: LokaleTafel type: LokaleTafel - name: Programm type: Programm - name: Status type: STRING The data source for the [Programm] select control should be loaded from the relative URL: "/ProgrammService/programm" (HTTP-GET) The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing ProgrammTeilnahme entity should be loaded from the relative URL: "/ProgrammService/programmteilnahme/{id}" (HTTP-GET) If a new ProgrammTeilnahme entity has been created, the new entity should be posted to the relative URL: "/ProgrammService/programmteilnahme" (HTTP-POST) If an existing ProgrammTeilnahme entity has been updated, the modified entity should be sent to the relative URL: "/ProgrammService/programmteilnahme/{id}" (HTTP-PUT) If an existing ProgrammTeilnahme entity has to be deleted, the following relative URL should be called: "/ProgrammService/programmteilnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum