Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TurnierApp
Please create a React-JS application for the TurnierModule. The application has to offer the following views for the user interface: 1. GolfplatzTurnierView 2. InfrastrukturView 3. PflegeaktivitaetView 4. TurnierView 5. UebungsanlageView 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 GolfplatzTurnierView must contain the following fields: - name: ErstesJahr type: LONG - name: Golfplatz type: Golfplatz - name: Hinweise type: STRING - name: LetztesJahr type: LONG - name: Turnier type: Turnier The data source for the [Golfplatz] select control should be loaded from the relative URL: "/GolfplatzService/golfplatz" (HTTP-GET) The data source for the [Turnier] select control should be loaded from the relative URL: "/TurnierService/turnier" (HTTP-GET) An existing GolfplatzTurnier entity should be loaded from the relative URL: "/TurnierService/golfplatzturnier/{id}" (HTTP-GET) If a new GolfplatzTurnier entity has been created, the new entity should be posted to the relative URL: "/TurnierService/golfplatzturnier" (HTTP-POST) If an existing GolfplatzTurnier entity has been updated, the modified entity should be sent to the relative URL: "/TurnierService/golfplatzturnier/{id}" (HTTP-PUT) If an existing GolfplatzTurnier entity has to be deleted, the following relative URL should be called: "/TurnierService/golfplatzturnier/{id}" (HTTP-DELETE) 2. The InfrastrukturView must contain the following fields: - name: Beschreibung type: STRING - name: Golfplatz type: Golfplatz - 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 Infrastruktur entity should be loaded from the relative URL: "/TurnierService/infrastruktur/{id}" (HTTP-GET) If a new Infrastruktur entity has been created, the new entity should be posted to the relative URL: "/TurnierService/infrastruktur" (HTTP-POST) If an existing Infrastruktur entity has been updated, the modified entity should be sent to the relative URL: "/TurnierService/infrastruktur/{id}" (HTTP-PUT) If an existing Infrastruktur entity has to be deleted, the following relative URL should be called: "/TurnierService/infrastruktur/{id}" (HTTP-DELETE) 3. The PflegeaktivitaetView must contain the following fields: - name: BeeinflusstSpiel type: BOOL - name: Beschreibung type: STRING - name: Frequenz type: STRING - name: Golfplatz type: Golfplatz - name: Name type: STRING - name: Saison type: STRING The data source for the [Golfplatz] select control should be loaded from the relative URL: "/GolfplatzService/golfplatz" (HTTP-GET) An existing Pflegeaktivitaet entity should be loaded from the relative URL: "/TurnierService/pflegeaktivitaet/{id}" (HTTP-GET) If a new Pflegeaktivitaet entity has been created, the new entity should be posted to the relative URL: "/TurnierService/pflegeaktivitaet" (HTTP-POST) If an existing Pflegeaktivitaet entity has been updated, the modified entity should be sent to the relative URL: "/TurnierService/pflegeaktivitaet/{id}" (HTTP-PUT) If an existing Pflegeaktivitaet entity has to be deleted, the following relative URL should be called: "/TurnierService/pflegeaktivitaet/{id}" (HTTP-DELETE) 4. The TurnierView must contain the following fields: - name: Ebene type: STRING - name: ErstesJahr type: LONG - name: LetztesJahr type: LONG - name: Name type: STRING - name: Tour type: STRING - name: Wiederkehrend type: BOOL An existing Turnier entity should be loaded from the relative URL: "/TurnierService/turnier/{id}" (HTTP-GET) If a new Turnier entity has been created, the new entity should be posted to the relative URL: "/TurnierService/turnier" (HTTP-POST) If an existing Turnier entity has been updated, the modified entity should be sent to the relative URL: "/TurnierService/turnier/{id}" (HTTP-PUT) If an existing Turnier entity has to be deleted, the following relative URL should be called: "/TurnierService/turnier/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GolfplatzTurnier columns: - column: LetztesJahr - column: Turnier - column: Golfplatz - column: ErstesJahr - column: Hinweise The table should have the title "GolfplatzTurniers" und the data must be loaded from the server with the following relative URL: "/TurnierService/golfplatzturnier/turnier/{id}" 5. The UebungsanlageView must contain the following fields: - name: AnzahlMatten type: LONG - name: AnzahlRasenAbschlaege type: LONG - name: AnzahlUeberdachteAbschlaege type: LONG - name: Beschreibung type: STRING - name: Flutlicht type: BOOL - name: Golfplatz type: Golfplatz - name: MaxDistanzMeter type: LONG - 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 Uebungsanlage entity should be loaded from the relative URL: "/TurnierService/uebungsanlage/{id}" (HTTP-GET) If a new Uebungsanlage entity has been created, the new entity should be posted to the relative URL: "/TurnierService/uebungsanlage" (HTTP-POST) If an existing Uebungsanlage entity has been updated, the modified entity should be sent to the relative URL: "/TurnierService/uebungsanlage/{id}" (HTTP-PUT) If an existing Uebungsanlage entity has to be deleted, the following relative URL should be called: "/TurnierService/uebungsanlage/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum