Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TierhalterApp
Please create a React-JS application for the TierhalterModule. The application has to offer the following views for the user interface: 1. FundmeldungView 2. TierabgabeView 3. TierhalterView 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 FundmeldungView must contain the following fields: - name: BesitzerBekannt type: BOOL - name: FundortBeschreibung type: STRING - name: Gemeinde type: Gemeinde - name: Meldedatum type: DATE - name: Melder type: Tierhalter - name: Tier type: Tier The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Tier] select control should be loaded from the relative URL: "/TierService/tier" (HTTP-GET) The data source for the [Melder] select control should be loaded from the relative URL: "/TierhalterService/tierhalter" (HTTP-GET) An existing Fundmeldung entity should be loaded from the relative URL: "/TierhalterService/fundmeldung/{id}" (HTTP-GET) If a new Fundmeldung entity has been created, the new entity should be posted to the relative URL: "/TierhalterService/fundmeldung" (HTTP-POST) If an existing Fundmeldung entity has been updated, the modified entity should be sent to the relative URL: "/TierhalterService/fundmeldung/{id}" (HTTP-PUT) If an existing Fundmeldung entity has to be deleted, the following relative URL should be called: "/TierhalterService/fundmeldung/{id}" (HTTP-DELETE) 2. The TierabgabeView must contain the following fields: - name: Art type: STRING - name: Bemerkung type: STRING - name: Datum type: DATE - name: NeuerHalter type: Tierhalter - name: Tier type: Tier - name: Vertragsreferenz type: STRING The data source for the [Tier] select control should be loaded from the relative URL: "/TierService/tier" (HTTP-GET) The data source for the [NeuerHalter] select control should be loaded from the relative URL: "/TierhalterService/tierhalter" (HTTP-GET) An existing Tierabgabe entity should be loaded from the relative URL: "/TierhalterService/tierabgabe/{id}" (HTTP-GET) If a new Tierabgabe entity has been created, the new entity should be posted to the relative URL: "/TierhalterService/tierabgabe" (HTTP-POST) If an existing Tierabgabe entity has been updated, the modified entity should be sent to the relative URL: "/TierhalterService/tierabgabe/{id}" (HTTP-PUT) If an existing Tierabgabe entity has to be deleted, the following relative URL should be called: "/TierhalterService/tierabgabe/{id}" (HTTP-DELETE) 3. The TierhalterView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: Email type: STRING - name: Land type: STRING - name: Telefon type: STRING - name: Vollname type: STRING An existing Tierhalter entity should be loaded from the relative URL: "/TierhalterService/tierhalter/{id}" (HTTP-GET) If a new Tierhalter entity has been created, the new entity should be posted to the relative URL: "/TierhalterService/tierhalter" (HTTP-POST) If an existing Tierhalter entity has been updated, the modified entity should be sent to the relative URL: "/TierhalterService/tierhalter/{id}" (HTTP-PUT) If an existing Tierhalter entity has to be deleted, the following relative URL should be called: "/TierhalterService/tierhalter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fundmeldung columns: - column: Melder - column: Gemeinde - column: Tier - column: Meldedatum - column: BesitzerBekannt - column: FundortBeschreibung The table should have the title "Fundmeldungs" und the data must be loaded from the server with the following relative URL: "/TierhalterService/fundmeldung/melder/{id}" Add a HTML table to the view with the following Tieraufnahme columns: - column: Beschreibung - column: TierherkunftsArt - column: Gemeinde - column: AufnahmeDatum - column: Tier - column: Finder - column: Behoerde The table should have the title "Tieraufnahmes" und the data must be loaded from the server with the following relative URL: "/TierherkunftsArtService/tieraufnahme/finder/{id}" Add a HTML table to the view with the following Tierabgabe columns: - column: NeuerHalter - column: Tier - column: Datum - column: Bemerkung - column: Art - column: Vertragsreferenz The table should have the title "Tierabgabes" und the data must be loaded from the server with the following relative URL: "/TierhalterService/tierabgabe/neuerhalter/{id}" Add a HTML table to the view with the following Tier columns: - column: GeburtsdatumUngefaehr - column: Tierstatus - column: AktuellerHalter - column: NochImTierheim - column: IstGechippt - column: Tierart - column: AufnahmeDatum - column: Tierheim - column: Geschlecht - column: IstGrundimmunisiert - column: Name - column: IstKastriert - column: IstGefaehrlicherHund The table should have the title "Tiers" und the data must be loaded from the server with the following relative URL: "/TierService/tier/aktuellerhalter/{id}" Add a HTML table to the view with the following AdoptionsVertrag columns: - column: Vertragsart - column: Vertragsdatum - column: HatRueckgabepflicht - column: HatKontrollklauseln - column: NeuerHalter - column: Tierheim - column: Gebuehr - column: Tier The table should have the title "AdoptionsVertrags" und the data must be loaded from the server with the following relative URL: "/TierschutzVereinService/adoptionsvertrag/neuerhalter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum