Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MuseumApp
Please create a React-JS application for the MuseumModule. The application has to offer the following views for the user interface: 1. ApothekenmuseumExponatView 2. InventarLiteraturView 3. MuseumView 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 ApothekenmuseumExponatView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Epoche type: STRING - name: Museum type: Museum The data source for the [Museum] select control should be loaded from the relative URL: "/MuseumService/museum" (HTTP-GET) An existing ApothekenmuseumExponat entity should be loaded from the relative URL: "/MuseumService/apothekenmuseumexponat/{id}" (HTTP-GET) If a new ApothekenmuseumExponat entity has been created, the new entity should be posted to the relative URL: "/MuseumService/apothekenmuseumexponat" (HTTP-POST) If an existing ApothekenmuseumExponat entity has been updated, the modified entity should be sent to the relative URL: "/MuseumService/apothekenmuseumexponat/{id}" (HTTP-PUT) If an existing ApothekenmuseumExponat entity has to be deleted, the following relative URL should be called: "/MuseumService/apothekenmuseumexponat/{id}" (HTTP-DELETE) 2. The InventarLiteraturView must contain the following fields: - name: Apotheke type: Apotheke - name: LiteraturTyp type: STRING - name: PflichtliteraturFlag type: BOOL - name: Titel type: STRING The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing InventarLiteratur entity should be loaded from the relative URL: "/MuseumService/inventarliteratur/{id}" (HTTP-GET) If a new InventarLiteratur entity has been created, the new entity should be posted to the relative URL: "/MuseumService/inventarliteratur" (HTTP-POST) If an existing InventarLiteratur entity has been updated, the modified entity should be sent to the relative URL: "/MuseumService/inventarliteratur/{id}" (HTTP-PUT) If an existing InventarLiteratur entity has to be deleted, the following relative URL should be called: "/MuseumService/inventarliteratur/{id}" (HTTP-DELETE) 3. The MuseumView must contain the following fields: - name: Land type: Land - name: MuseumTyp type: STRING - name: Name type: STRING - name: Ort type: STRING - name: Schwerpunkt type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Museum entity should be loaded from the relative URL: "/MuseumService/museum/{id}" (HTTP-GET) If a new Museum entity has been created, the new entity should be posted to the relative URL: "/MuseumService/museum" (HTTP-POST) If an existing Museum entity has been updated, the modified entity should be sent to the relative URL: "/MuseumService/museum/{id}" (HTTP-PUT) If an existing Museum entity has to be deleted, the following relative URL should be called: "/MuseumService/museum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ApothekenmuseumExponat columns: - column: Epoche - column: Museum - column: Beschreibung - column: Bezeichnung The table should have the title "ApothekenmuseumExponats" und the data must be loaded from the server with the following relative URL: "/MuseumService/apothekenmuseumexponat/museum/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum