Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StudieApp
Please create a React-JS application for the StudieModule. The application has to offer the following views for the user interface: 1. StatistikView 2. StudieView 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 StatistikView must contain the following fields: - name: Einheit type: STRING - name: Indikator type: STRING - name: Jahr type: INT - name: Land type: STRING - name: Studie type: Studie - name: Wert type: STRING The data source for the [Studie] select control should be loaded from the relative URL: "/StudieService/studie" (HTTP-GET) An existing Statistik entity should be loaded from the relative URL: "/StudieService/statistik/{id}" (HTTP-GET) If a new Statistik entity has been created, the new entity should be posted to the relative URL: "/StudieService/statistik" (HTTP-POST) If an existing Statistik entity has been updated, the modified entity should be sent to the relative URL: "/StudieService/statistik/{id}" (HTTP-PUT) If an existing Statistik entity has to be deleted, the following relative URL should be called: "/StudieService/statistik/{id}" (HTTP-DELETE) 2. The StudieView must contain the following fields: - name: Institution type: STRING - name: Jahr type: INT - name: Thema type: STRING - name: Titel type: STRING - name: Url type: STRING An existing Studie entity should be loaded from the relative URL: "/StudieService/studie/{id}" (HTTP-GET) If a new Studie entity has been created, the new entity should be posted to the relative URL: "/StudieService/studie" (HTTP-POST) If an existing Studie entity has been updated, the modified entity should be sent to the relative URL: "/StudieService/studie/{id}" (HTTP-PUT) If an existing Studie entity has to be deleted, the following relative URL should be called: "/StudieService/studie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Statistik columns: - column: Einheit - column: Land - column: Studie - column: Wert - column: Jahr - column: Indikator The table should have the title "Statistiks" und the data must be loaded from the server with the following relative URL: "/StudieService/statistik/studie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum