Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HundApp
Please create a React-JS application for the HundModule. The application has to offer the following views for the user interface: 1. HundView 2. HundehalterView 3. HundHundesportView 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 HundView must contain the following fields: - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Hundehalter type: Hundehalter - name: IstDiensthund type: BOOL - name: IstFamilienhund type: BOOL - name: IstGebrauchshund type: BOOL - name: Name type: STRING - name: Rasse type: STRING The data source for the [Hundehalter] select control should be loaded from the relative URL: "/HundService/hundehalter" (HTTP-GET) An existing Hund entity should be loaded from the relative URL: "/HundService/hund/{id}" (HTTP-GET) If a new Hund entity has been created, the new entity should be posted to the relative URL: "/HundService/hund" (HTTP-POST) If an existing Hund entity has been updated, the modified entity should be sent to the relative URL: "/HundService/hund/{id}" (HTTP-PUT) If an existing Hund entity has to be deleted, the following relative URL should be called: "/HundService/hund/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kursteilnahme columns: - column: Beginn - column: Ende - column: Hund - column: Notizen - column: Erfolgsstatus - column: Kurs The table should have the title "Kursteilnahmes" und the data must be loaded from the server with the following relative URL: "/UmweltreizService/kursteilnahme/hund/{id}" Add a HTML table to the view with the following HundHundesport columns: - column: Hund - column: Hundesportart - column: Leistungsstufe - column: IstWettkampfteilnehmer The table should have the title "HundHundesports" und the data must be loaded from the server with the following relative URL: "/HundService/hundhundesport/hund/{id}" 2. The HundehalterView must contain the following fields: - name: Adresse type: STRING - name: Email type: STRING - name: Erfahrungsniveau type: STRING - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING An existing Hundehalter entity should be loaded from the relative URL: "/HundService/hundehalter/{id}" (HTTP-GET) If a new Hundehalter entity has been created, the new entity should be posted to the relative URL: "/HundService/hundehalter" (HTTP-POST) If an existing Hundehalter entity has been updated, the modified entity should be sent to the relative URL: "/HundService/hundehalter/{id}" (HTTP-PUT) If an existing Hundehalter entity has to be deleted, the following relative URL should be called: "/HundService/hundehalter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Hund columns: - column: Name - column: Geburtsdatum - column: Hundehalter - column: IstGebrauchshund - column: Geschlecht - column: IstDiensthund - column: IstFamilienhund - column: Rasse The table should have the title "Hunds" und the data must be loaded from the server with the following relative URL: "/HundService/hund/hundehalter/{id}" 3. The HundHundesportView must contain the following fields: - name: Hund type: Hund - name: Hundesportart type: Hundesportart - name: IstWettkampfteilnehmer type: BOOL - name: Leistungsstufe type: STRING The data source for the [Hund] select control should be loaded from the relative URL: "/HundService/hund" (HTTP-GET) The data source for the [Hundesportart] select control should be loaded from the relative URL: "/HundesportartService/hundesportart" (HTTP-GET) An existing HundHundesport entity should be loaded from the relative URL: "/HundService/hundhundesport/{id}" (HTTP-GET) If a new HundHundesport entity has been created, the new entity should be posted to the relative URL: "/HundService/hundhundesport" (HTTP-POST) If an existing HundHundesport entity has been updated, the modified entity should be sent to the relative URL: "/HundService/hundhundesport/{id}" (HTTP-PUT) If an existing HundHundesport entity has to be deleted, the following relative URL should be called: "/HundService/hundhundesport/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum