Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbschlagApp
Please create a React-JS application for the AbschlagModule. The application has to offer the following views for the user interface: 1. AbschlagView 2. GolfclubView 3. GreenkeeperView 4. GreenkeeperGolfplatzView 5. UmweltbereichView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The AbschlagView must contain the following fields: - name: Farbe type: STRING - name: Geschlecht type: STRING - name: LaengeMeter type: LONG - name: Loch type: Loch - name: Name type: STRING The data source for the [Loch] select control should be loaded from the relative URL: "/LochService/loch" (HTTP-GET) An existing Abschlag entity should be loaded from the relative URL: "/AbschlagService/abschlag/{id}" (HTTP-GET) If a new Abschlag entity has been created, the new entity should be posted to the relative URL: "/AbschlagService/abschlag" (HTTP-POST) If an existing Abschlag entity has been updated, the modified entity should be sent to the relative URL: "/AbschlagService/abschlag/{id}" (HTTP-PUT) If an existing Abschlag entity has to be deleted, the following relative URL should be called: "/AbschlagService/abschlag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Platzbewertung columns: - column: Abschlag - column: Golfplatz - column: Hinweise - column: RatingWert - column: Geschlecht - column: Bewertungsstelle - column: GueltigAb - column: SlopeWert The table should have the title "Platzbewertungs" und the data must be loaded from the server with the following relative URL: "/GolfplatzService/platzbewertung/abschlag/{id}" 2. The GolfclubView must contain the following fields: - name: Gruendungsjahr type: LONG - name: Land type: STRING - name: Mitgliedschaften type: STRING - name: Name type: STRING - name: Ort type: STRING - name: Region type: STRING - name: Webseite type: STRING An existing Golfclub entity should be loaded from the relative URL: "/AbschlagService/golfclub/{id}" (HTTP-GET) If a new Golfclub entity has been created, the new entity should be posted to the relative URL: "/AbschlagService/golfclub" (HTTP-POST) If an existing Golfclub entity has been updated, the modified entity should be sent to the relative URL: "/AbschlagService/golfclub/{id}" (HTTP-PUT) If an existing Golfclub entity has to be deleted, the following relative URL should be called: "/AbschlagService/golfclub/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GolfclubGolfplatz columns: - column: Golfplatz - column: BisJahr - column: VonJahr - column: Golfclub - column: Rolle The table should have the title "GolfclubGolfplatzs" und the data must be loaded from the server with the following relative URL: "/GolfplatzService/golfclubgolfplatz/golfclub/{id}" 3. The GreenkeeperView must contain the following fields: - name: ArbeitgeberClub type: STRING - name: Hinweise type: STRING - name: Vollname type: STRING - name: Zertifizierung type: STRING An existing Greenkeeper entity should be loaded from the relative URL: "/AbschlagService/greenkeeper/{id}" (HTTP-GET) If a new Greenkeeper entity has been created, the new entity should be posted to the relative URL: "/AbschlagService/greenkeeper" (HTTP-POST) If an existing Greenkeeper entity has been updated, the modified entity should be sent to the relative URL: "/AbschlagService/greenkeeper/{id}" (HTTP-PUT) If an existing Greenkeeper entity has to be deleted, the following relative URL should be called: "/AbschlagService/greenkeeper/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GreenkeeperGolfplatz columns: - column: Golfplatz - column: VonDatum - column: BisDatum - column: Greenkeeper - column: Rolle The table should have the title "GreenkeeperGolfplatzs" und the data must be loaded from the server with the following relative URL: "/AbschlagService/greenkeepergolfplatz/greenkeeper/{id}" 4. The GreenkeeperGolfplatzView must contain the following fields: - name: BisDatum type: DATE - name: Golfplatz type: Golfplatz - name: Greenkeeper type: Greenkeeper - name: Rolle type: STRING - name: VonDatum type: DATE The data source for the [Golfplatz] select control should be loaded from the relative URL: "/GolfplatzService/golfplatz" (HTTP-GET) The data source for the [Greenkeeper] select control should be loaded from the relative URL: "/AbschlagService/greenkeeper" (HTTP-GET) An existing GreenkeeperGolfplatz entity should be loaded from the relative URL: "/AbschlagService/greenkeepergolfplatz/{id}" (HTTP-GET) If a new GreenkeeperGolfplatz entity has been created, the new entity should be posted to the relative URL: "/AbschlagService/greenkeepergolfplatz" (HTTP-POST) If an existing GreenkeeperGolfplatz entity has been updated, the modified entity should be sent to the relative URL: "/AbschlagService/greenkeepergolfplatz/{id}" (HTTP-PUT) If an existing GreenkeeperGolfplatz entity has to be deleted, the following relative URL should be called: "/AbschlagService/greenkeepergolfplatz/{id}" (HTTP-DELETE) 5. The UmweltbereichView must contain the following fields: - name: Beschreibung type: STRING - name: FlaecheQm type: LONG - name: Golfplatz type: Golfplatz - name: Schutzstatus type: STRING - name: Typ type: STRING The data source for the [Golfplatz] select control should be loaded from the relative URL: "/GolfplatzService/golfplatz" (HTTP-GET) An existing Umweltbereich entity should be loaded from the relative URL: "/AbschlagService/umweltbereich/{id}" (HTTP-GET) If a new Umweltbereich entity has been created, the new entity should be posted to the relative URL: "/AbschlagService/umweltbereich" (HTTP-POST) If an existing Umweltbereich entity has been updated, the modified entity should be sent to the relative URL: "/AbschlagService/umweltbereich/{id}" (HTTP-PUT) If an existing Umweltbereich entity has to be deleted, the following relative URL should be called: "/AbschlagService/umweltbereich/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum