Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GehegeApp
Please create a React-JS application for the GehegeModule. The application has to offer the following views for the user interface: 1. GehegeView 2. GehegeGestaltungsmerkmalView 3. GehegeTierView 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 GehegeView must contain the following fields: - name: Beschreibung type: STRING - name: Eroeffnungsjahr type: LONG - name: FlaecheQuadratmeter type: STRING - name: GehegeTyp type: STRING - name: InnenAussen type: STRING - name: IstGeoBereich type: BOOL - name: IstImmersiv type: BOOL - name: Name type: STRING - name: Themenregion type: STRING - name: Zoo type: Zoo The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing Gehege entity should be loaded from the relative URL: "/GehegeService/gehege/{id}" (HTTP-GET) If a new Gehege entity has been created, the new entity should be posted to the relative URL: "/GehegeService/gehege" (HTTP-POST) If an existing Gehege entity has been updated, the modified entity should be sent to the relative URL: "/GehegeService/gehege/{id}" (HTTP-PUT) If an existing Gehege entity has to be deleted, the following relative URL should be called: "/GehegeService/gehege/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GehegeGestaltungsmerkmal columns: - column: Beschreibung - column: Gehege - column: MerkmalTyp The table should have the title "GehegeGestaltungsmerkmals" und the data must be loaded from the server with the following relative URL: "/GehegeService/gehegegestaltungsmerkmal/gehege/{id}" Add a HTML table to the view with the following GehegeTier columns: - column: IstZuchtgruppe - column: TierTaxon - column: Gehege - column: Mindestanzahl - column: Maximalanzahl - column: Notizen The table should have the title "GehegeTiers" und the data must be loaded from the server with the following relative URL: "/GehegeService/gehegetier/gehege/{id}" 2. The GehegeGestaltungsmerkmalView must contain the following fields: - name: Beschreibung type: STRING - name: Gehege type: Gehege - name: MerkmalTyp type: STRING The data source for the [Gehege] select control should be loaded from the relative URL: "/GehegeService/gehege" (HTTP-GET) An existing GehegeGestaltungsmerkmal entity should be loaded from the relative URL: "/GehegeService/gehegegestaltungsmerkmal/{id}" (HTTP-GET) If a new GehegeGestaltungsmerkmal entity has been created, the new entity should be posted to the relative URL: "/GehegeService/gehegegestaltungsmerkmal" (HTTP-POST) If an existing GehegeGestaltungsmerkmal entity has been updated, the modified entity should be sent to the relative URL: "/GehegeService/gehegegestaltungsmerkmal/{id}" (HTTP-PUT) If an existing GehegeGestaltungsmerkmal entity has to be deleted, the following relative URL should be called: "/GehegeService/gehegegestaltungsmerkmal/{id}" (HTTP-DELETE) 3. The GehegeTierView must contain the following fields: - name: Gehege type: Gehege - name: IstZuchtgruppe type: BOOL - name: Maximalanzahl type: LONG - name: Mindestanzahl type: LONG - name: Notizen type: STRING - name: TierTaxon type: TierTaxon The data source for the [Gehege] select control should be loaded from the relative URL: "/GehegeService/gehege" (HTTP-GET) The data source for the [TierTaxon] select control should be loaded from the relative URL: "/TierTaxonService/tiertaxon" (HTTP-GET) An existing GehegeTier entity should be loaded from the relative URL: "/GehegeService/gehegetier/{id}" (HTTP-GET) If a new GehegeTier entity has been created, the new entity should be posted to the relative URL: "/GehegeService/gehegetier" (HTTP-POST) If an existing GehegeTier entity has been updated, the modified entity should be sent to the relative URL: "/GehegeService/gehegetier/{id}" (HTTP-PUT) If an existing GehegeTier entity has to be deleted, the following relative URL should be called: "/GehegeService/gehegetier/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum