Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ArztApp
Please create a React-JS application for the ArztModule. The application has to offer the following views for the user interface: 1. ArztView 2. HausapothekeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The ArztView must contain the following fields: - name: Fachrichtung type: STRING - name: Land type: Land - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Arzt entity should be loaded from the relative URL: "/ArztService/arzt/{id}" (HTTP-GET) If a new Arzt entity has been created, the new entity should be posted to the relative URL: "/ArztService/arzt" (HTTP-POST) If an existing Arzt entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/arzt/{id}" (HTTP-PUT) If an existing Arzt entity has to be deleted, the following relative URL should be called: "/ArztService/arzt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rezept columns: - column: Kunde - column: Arzt - column: Datum - column: RezeptTyp - column: Apotheke The table should have the title "Rezepts" und the data must be loaded from the server with the following relative URL: "/KundeService/rezept/arzt/{id}" Add a HTML table to the view with the following Hausapotheke columns: - column: Land - column: Typ - column: Ort - column: TierarztFlag - column: Arzt The table should have the title "Hausapothekes" und the data must be loaded from the server with the following relative URL: "/ArztService/hausapotheke/arzt/{id}" 2. The HausapothekeView must contain the following fields: - name: Arzt type: Arzt - name: Land type: Land - name: Ort type: STRING - name: TierarztFlag type: BOOL - name: Typ type: STRING The data source for the [Arzt] select control should be loaded from the relative URL: "/ArztService/arzt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Hausapotheke entity should be loaded from the relative URL: "/ArztService/hausapotheke/{id}" (HTTP-GET) If a new Hausapotheke entity has been created, the new entity should be posted to the relative URL: "/ArztService/hausapotheke" (HTTP-POST) If an existing Hausapotheke entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/hausapotheke/{id}" (HTTP-PUT) If an existing Hausapotheke entity has to be deleted, the following relative URL should be called: "/ArztService/hausapotheke/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum