Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KursTypApp
Please create a React-JS application for the KursTypModule. The application has to offer the following views for the user interface: 1. KursView 2. KursBuchungView 3. KursEinheitView 4. KursTypView 5. 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 5 views are defined below. 1. The KursView must contain the following fields: - name: FitnessStudio type: FitnessStudio - name: IstAktiv type: BOOL - name: IstNurFrauen type: BOOL - name: KursTyp type: KursTyp - name: MaxTeilnehmer type: LONG - name: Raum type: STRING - name: Trainer type: Trainer The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) The data source for the [KursTyp] select control should be loaded from the relative URL: "/KursTypService/kurstyp" (HTTP-GET) The data source for the [Trainer] select control should be loaded from the relative URL: "/FitnessStudioService/trainer" (HTTP-GET) An existing Kurs entity should be loaded from the relative URL: "/KursTypService/kurs/{id}" (HTTP-GET) If a new Kurs entity has been created, the new entity should be posted to the relative URL: "/KursTypService/kurs" (HTTP-POST) If an existing Kurs entity has been updated, the modified entity should be sent to the relative URL: "/KursTypService/kurs/{id}" (HTTP-PUT) If an existing Kurs entity has to be deleted, the following relative URL should be called: "/KursTypService/kurs/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursEinheit columns: - column: Status - column: EndZeit - column: Kurs - column: StornoGrund - column: StartZeit The table should have the title "KursEinheits" und the data must be loaded from the server with the following relative URL: "/KursTypService/kurseinheit/kurs/{id}" 2. The KursBuchungView must contain the following fields: - name: BuchungsZeit type: DATE - name: CheckInZeit type: DATE - name: KursEinheit type: KursEinheit - name: Mitglied type: Mitglied - name: Status type: STRING The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [KursEinheit] select control should be loaded from the relative URL: "/KursTypService/kurseinheit" (HTTP-GET) An existing KursBuchung entity should be loaded from the relative URL: "/KursTypService/kursbuchung/{id}" (HTTP-GET) If a new KursBuchung entity has been created, the new entity should be posted to the relative URL: "/KursTypService/kursbuchung" (HTTP-POST) If an existing KursBuchung entity has been updated, the modified entity should be sent to the relative URL: "/KursTypService/kursbuchung/{id}" (HTTP-PUT) If an existing KursBuchung entity has to be deleted, the following relative URL should be called: "/KursTypService/kursbuchung/{id}" (HTTP-DELETE) 3. The KursEinheitView must contain the following fields: - name: EndZeit type: DATE - name: Kurs type: Kurs - name: StartZeit type: DATE - name: Status type: STRING - name: StornoGrund type: STRING The data source for the [Kurs] select control should be loaded from the relative URL: "/KursTypService/kurs" (HTTP-GET) An existing KursEinheit entity should be loaded from the relative URL: "/KursTypService/kurseinheit/{id}" (HTTP-GET) If a new KursEinheit entity has been created, the new entity should be posted to the relative URL: "/KursTypService/kurseinheit" (HTTP-POST) If an existing KursEinheit entity has been updated, the modified entity should be sent to the relative URL: "/KursTypService/kurseinheit/{id}" (HTTP-PUT) If an existing KursEinheit entity has to be deleted, the following relative URL should be called: "/KursTypService/kurseinheit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursBuchung columns: - column: KursEinheit - column: BuchungsZeit - column: CheckInZeit - column: Mitglied - column: Status The table should have the title "KursBuchungs" und the data must be loaded from the server with the following relative URL: "/KursTypService/kursbuchung/kurseinheit/{id}" 4. The KursTypView must contain the following fields: - name: Beschreibung type: STRING - name: IntensitaetsLevel type: STRING - name: IstRehaKurs type: BOOL - name: Name type: STRING - name: ZielGruppe type: STRING An existing KursTyp entity should be loaded from the relative URL: "/KursTypService/kurstyp/{id}" (HTTP-GET) If a new KursTyp entity has been created, the new entity should be posted to the relative URL: "/KursTypService/kurstyp" (HTTP-POST) If an existing KursTyp entity has been updated, the modified entity should be sent to the relative URL: "/KursTypService/kurstyp/{id}" (HTTP-PUT) If an existing KursTyp entity has to be deleted, the following relative URL should be called: "/KursTypService/kurstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kurs columns: - column: KursTyp - column: MaxTeilnehmer - column: IstAktiv - column: FitnessStudio - column: Raum - column: Trainer - column: IstNurFrauen The table should have the title "Kurss" und the data must be loaded from the server with the following relative URL: "/KursTypService/kurs/kurstyp/{id}" 5. 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: "/FitnessStudioService/trainer" (HTTP-GET) An existing TrainerQualifikation entity should be loaded from the relative URL: "/KursTypService/trainerqualifikation/{id}" (HTTP-GET) If a new TrainerQualifikation entity has been created, the new entity should be posted to the relative URL: "/KursTypService/trainerqualifikation" (HTTP-POST) If an existing TrainerQualifikation entity has been updated, the modified entity should be sent to the relative URL: "/KursTypService/trainerqualifikation/{id}" (HTTP-PUT) If an existing TrainerQualifikation entity has to be deleted, the following relative URL should be called: "/KursTypService/trainerqualifikation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum