Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TierschutzVereinApp
Please create a React-JS application for the TierschutzVereinModule. The application has to offer the following views for the user interface: 1. TierartView 2. TierheimVereinsMitgliedschaftView 3. TierschutzVereinView 4. VeterinaerPraxisView 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 TierartView must contain the following fields: - name: IstHaustier type: BOOL - name: IstWildtier type: BOOL - name: Name type: STRING An existing Tierart entity should be loaded from the relative URL: "/TierschutzVereinService/tierart/{id}" (HTTP-GET) If a new Tierart entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/tierart" (HTTP-POST) If an existing Tierart entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/tierart/{id}" (HTTP-PUT) If an existing Tierart entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/tierart/{id}" (HTTP-DELETE) 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/tierart/{id}" 2. The TierheimVereinsMitgliedschaftView must contain the following fields: - name: Mitgliedsart type: STRING - name: MitgliedSeit type: DATE - name: Tierheim type: Tierheim - name: TierschutzVerein type: TierschutzVerein The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [TierschutzVerein] select control should be loaded from the relative URL: "/TierschutzVereinService/tierschutzverein" (HTTP-GET) An existing TierheimVereinsMitgliedschaft entity should be loaded from the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-GET) If a new TierheimVereinsMitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft" (HTTP-POST) If an existing TierheimVereinsMitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-PUT) If an existing TierheimVereinsMitgliedschaft entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/{id}" (HTTP-DELETE) 3. The TierschutzVereinView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: IstDachverband type: BOOL - name: Land type: STRING - name: MitgliederzahlGeschaetzt type: LONG - name: Name type: STRING An existing TierschutzVerein entity should be loaded from the relative URL: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-GET) If a new TierschutzVerein entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/tierschutzverein" (HTTP-POST) If an existing TierschutzVerein entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-PUT) If an existing TierschutzVerein entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/tierschutzverein/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierheimVereinsMitgliedschaft columns: - column: TierschutzVerein - column: Mitgliedsart - column: MitgliedSeit - column: Tierheim The table should have the title "TierheimVereinsMitgliedschafts" und the data must be loaded from the server with the following relative URL: "/TierschutzVereinService/tierheimvereinsmitgliedschaft/tierschutzverein/{id}" 4. The VeterinaerPraxisView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: HatTierheimvertrag type: BOOL - name: Land type: STRING - name: Name type: STRING An existing VeterinaerPraxis entity should be loaded from the relative URL: "/TierschutzVereinService/veterinaerpraxis/{id}" (HTTP-GET) If a new VeterinaerPraxis entity has been created, the new entity should be posted to the relative URL: "/TierschutzVereinService/veterinaerpraxis" (HTTP-POST) If an existing VeterinaerPraxis entity has been updated, the modified entity should be sent to the relative URL: "/TierschutzVereinService/veterinaerpraxis/{id}" (HTTP-PUT) If an existing VeterinaerPraxis entity has to be deleted, the following relative URL should be called: "/TierschutzVereinService/veterinaerpraxis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierBehandlung columns: - column: VeterinaerPraxis - column: Datum - column: BehandlungsArt - column: Kosten - column: Tier - column: ErstattbarDurchGemeinde The table should have the title "TierBehandlungs" und the data must be loaded from the server with the following relative URL: "/TierService/tierbehandlung/veterinaerpraxis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum