Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TrainerApp
Please create a React-JS application for the TrainerModule. The application has to offer the following views for the user interface: 1. BranchenStatistikJahrView 2. FranchiseSystemView 3. TrainerView 4. TrainerQualifikationView 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 BranchenStatistikJahrView must contain the following fields: - name: AnzahlMitarbeiter type: INT - name: AnzahlMitglieder type: INT - name: AnzahlUnternehmen type: INT - name: Jahr type: INT - name: Land type: STRING - name: UmsatzNetto type: STRING An existing BranchenStatistikJahr entity should be loaded from the relative URL: "/TrainerService/branchenstatistikjahr/{id}" (HTTP-GET) If a new BranchenStatistikJahr entity has been created, the new entity should be posted to the relative URL: "/TrainerService/branchenstatistikjahr" (HTTP-POST) If an existing BranchenStatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/TrainerService/branchenstatistikjahr/{id}" (HTTP-PUT) If an existing BranchenStatistikJahr entity has to be deleted, the following relative URL should be called: "/TrainerService/branchenstatistikjahr/{id}" (HTTP-DELETE) 2. The FranchiseSystemView must contain the following fields: - name: HauptsitzStadt type: STRING - name: Land type: STRING - name: Marke type: STRING - name: Name type: STRING - name: Webseite type: STRING An existing FranchiseSystem entity should be loaded from the relative URL: "/TrainerService/franchisesystem/{id}" (HTTP-GET) If a new FranchiseSystem entity has been created, the new entity should be posted to the relative URL: "/TrainerService/franchisesystem" (HTTP-POST) If an existing FranchiseSystem entity has been updated, the modified entity should be sent to the relative URL: "/TrainerService/franchisesystem/{id}" (HTTP-PUT) If an existing FranchiseSystem entity has to be deleted, the following relative URL should be called: "/TrainerService/franchisesystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FitnessStudio columns: - column: GroesseQuadratmeter - column: Strasse - column: FranchiseSystem - column: SportVerein - column: Name - column: FitnessKette - column: Postleitzahl - column: Stadt - column: StudioTyp - column: IstMikrostudio - column: Land - column: Ist24StundenGeoeffnet - column: Oeffnungszeiten The table should have the title "FitnessStudios" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/fitnessstudio/franchisesystem/{id}" 3. The TrainerView must contain the following fields: - name: BeschaeftigungsArt type: STRING - name: EinstellungsDatum type: DATE - name: Email type: STRING - name: FitnessStudio type: FitnessStudio - name: IstFreiberufler type: BOOL - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Trainer entity should be loaded from the relative URL: "/TrainerService/trainer/{id}" (HTTP-GET) If a new Trainer entity has been created, the new entity should be posted to the relative URL: "/TrainerService/trainer" (HTTP-POST) If an existing Trainer entity has been updated, the modified entity should be sent to the relative URL: "/TrainerService/trainer/{id}" (HTTP-PUT) If an existing Trainer entity has to be deleted, the following relative URL should be called: "/TrainerService/trainer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kurs columns: - column: Raum - column: KursTyp - column: Trainer - column: IstAktiv - column: IstNurFrauen - column: FitnessStudio - column: MaxTeilnehmer The table should have the title "Kurss" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/kurs/trainer/{id}" Add a HTML table to the view with the following TrainerQualifikation columns: - column: LaeuftAbAm - column: Titel - column: Trainer - column: ErworbenAm - column: Institut The table should have the title "TrainerQualifikations" und the data must be loaded from the server with the following relative URL: "/TrainerService/trainerqualifikation/trainer/{id}" 4. The TrainerQualifikationView must contain the following fields: - name: ErworbenAm type: DATE - name: Institut type: STRING - name: LaeuftAbAm type: DATE - name: Titel type: STRING - name: Trainer type: Trainer The data source for the [Trainer] select control should be loaded from the relative URL: "/TrainerService/trainer" (HTTP-GET) An existing TrainerQualifikation entity should be loaded from the relative URL: "/TrainerService/trainerqualifikation/{id}" (HTTP-GET) If a new TrainerQualifikation entity has been created, the new entity should be posted to the relative URL: "/TrainerService/trainerqualifikation" (HTTP-POST) If an existing TrainerQualifikation entity has been updated, the modified entity should be sent to the relative URL: "/TrainerService/trainerqualifikation/{id}" (HTTP-PUT) If an existing TrainerQualifikation entity has to be deleted, the following relative URL should be called: "/TrainerService/trainerqualifikation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum