Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterApp
Please create a React-JS application for the MitarbeiterModule. The application has to offer the following views for the user interface: 1. MitarbeiterView 2. ServiceTerminView 3. ServiceTypView 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 MitarbeiterView must contain the following fields: - name: Email type: STRING - name: FitnessStudio type: FitnessStudio - name: IstExtern type: BOOL - name: Nachname type: STRING - name: Rolle 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 Mitarbeiter entity should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ServiceTermin columns: - column: Mitarbeiter - column: Notizen - column: StartZeit - column: Status - column: FitnessStudio - column: ServiceTyp - column: Mitglied - column: EndZeit The table should have the title "ServiceTermins" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/servicetermin/mitarbeiter/{id}" 2. The ServiceTerminView must contain the following fields: - name: EndZeit type: DATE - name: FitnessStudio type: FitnessStudio - name: Mitarbeiter type: Mitarbeiter - name: Mitglied type: Mitglied - name: Notizen type: STRING - name: ServiceTyp type: ServiceTyp - name: StartZeit type: DATE - name: Status type: STRING The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [ServiceTyp] select control should be loaded from the relative URL: "/MitarbeiterService/servicetyp" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing ServiceTermin entity should be loaded from the relative URL: "/MitarbeiterService/servicetermin/{id}" (HTTP-GET) If a new ServiceTermin entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/servicetermin" (HTTP-POST) If an existing ServiceTermin entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/servicetermin/{id}" (HTTP-PUT) If an existing ServiceTermin entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/servicetermin/{id}" (HTTP-DELETE) 3. The ServiceTypView must contain the following fields: - name: Beschreibung type: STRING - name: ErfordertQualifikation type: BOOL - name: IstMedizinisch type: BOOL - name: Name type: STRING An existing ServiceTyp entity should be loaded from the relative URL: "/MitarbeiterService/servicetyp/{id}" (HTTP-GET) If a new ServiceTyp entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/servicetyp" (HTTP-POST) If an existing ServiceTyp entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/servicetyp/{id}" (HTTP-PUT) If an existing ServiceTyp entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/servicetyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ServiceTermin columns: - column: Mitarbeiter - column: Notizen - column: StartZeit - column: Status - column: FitnessStudio - column: ServiceTyp - column: Mitglied - column: EndZeit The table should have the title "ServiceTermins" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/servicetermin/servicetyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum