Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LiteraturApp
Please create a React-JS application for the LiteraturModule. The application has to offer the following views for the user interface: 1. AutorView 2. LiteraturView 3. LiteraturAutorView 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 AutorView must contain the following fields: - name: Nachname type: STRING - name: Vorname type: STRING An existing Autor entity should be loaded from the relative URL: "/LiteraturService/autor/{id}" (HTTP-GET) If a new Autor entity has been created, the new entity should be posted to the relative URL: "/LiteraturService/autor" (HTTP-POST) If an existing Autor entity has been updated, the modified entity should be sent to the relative URL: "/LiteraturService/autor/{id}" (HTTP-PUT) If an existing Autor entity has to be deleted, the following relative URL should be called: "/LiteraturService/autor/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LiteraturAutor columns: - column: Literatur - column: AutorenReihenfolge - column: Autor The table should have the title "LiteraturAutors" und the data must be loaded from the server with the following relative URL: "/LiteraturService/literaturautor/autor/{id}" 2. The LiteraturView must contain the following fields: - name: Erscheinungsjahr type: INT - name: Isbn type: STRING - name: Thema type: STRING - name: Titel type: STRING - name: Verlag type: STRING An existing Literatur entity should be loaded from the relative URL: "/LiteraturService/literatur/{id}" (HTTP-GET) If a new Literatur entity has been created, the new entity should be posted to the relative URL: "/LiteraturService/literatur" (HTTP-POST) If an existing Literatur entity has been updated, the modified entity should be sent to the relative URL: "/LiteraturService/literatur/{id}" (HTTP-PUT) If an existing Literatur entity has to be deleted, the following relative URL should be called: "/LiteraturService/literatur/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LiteraturAutor columns: - column: Literatur - column: AutorenReihenfolge - column: Autor The table should have the title "LiteraturAutors" und the data must be loaded from the server with the following relative URL: "/LiteraturService/literaturautor/literatur/{id}" 3. The LiteraturAutorView must contain the following fields: - name: Autor type: Autor - name: AutorenReihenfolge type: INT - name: Literatur type: Literatur The data source for the [Literatur] select control should be loaded from the relative URL: "/LiteraturService/literatur" (HTTP-GET) The data source for the [Autor] select control should be loaded from the relative URL: "/LiteraturService/autor" (HTTP-GET) An existing LiteraturAutor entity should be loaded from the relative URL: "/LiteraturService/literaturautor/{id}" (HTTP-GET) If a new LiteraturAutor entity has been created, the new entity should be posted to the relative URL: "/LiteraturService/literaturautor" (HTTP-POST) If an existing LiteraturAutor entity has been updated, the modified entity should be sent to the relative URL: "/LiteraturService/literaturautor/{id}" (HTTP-PUT) If an existing LiteraturAutor entity has to be deleted, the following relative URL should be called: "/LiteraturService/literaturautor/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum