Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TechnologieApp
Please create a React-JS application for the TechnologieModule. The application has to offer the following views for the user interface: 1. GasnetzView 2. TechnologieView 3. TechnologieEinsatzView 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 GasnetzView must contain the following fields: - name: BetreiberOrganisation type: Organisation - name: Endjahr type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Region type: Region - name: Startjahr type: LONG The data source for the [BetreiberOrganisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/PipelineService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gasnetz entity should be loaded from the relative URL: "/TechnologieService/gasnetz/{id}" (HTTP-GET) If a new Gasnetz entity has been created, the new entity should be posted to the relative URL: "/TechnologieService/gasnetz" (HTTP-POST) If an existing Gasnetz entity has been updated, the modified entity should be sent to the relative URL: "/TechnologieService/gasnetz/{id}" (HTTP-PUT) If an existing Gasnetz entity has to be deleted, the following relative URL should be called: "/TechnologieService/gasnetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TechnologieEinsatz columns: - column: Gasnetz - column: Anlage - column: BisJahr - column: Beschreibung - column: Technologie - column: VonJahr The table should have the title "TechnologieEinsatzs" und the data must be loaded from the server with the following relative URL: "/TechnologieService/technologieeinsatz/gasnetz/{id}" 2. The TechnologieView must contain the following fields: - name: Beschreibung type: STRING - name: ErfinderPerson type: Person - name: Erfindungsjahr type: LONG - name: Kategorie type: STRING - name: Name type: STRING The data source for the [ErfinderPerson] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Technologie entity should be loaded from the relative URL: "/TechnologieService/technologie/{id}" (HTTP-GET) If a new Technologie entity has been created, the new entity should be posted to the relative URL: "/TechnologieService/technologie" (HTTP-POST) If an existing Technologie entity has been updated, the modified entity should be sent to the relative URL: "/TechnologieService/technologie/{id}" (HTTP-PUT) If an existing Technologie entity has to be deleted, the following relative URL should be called: "/TechnologieService/technologie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TechnologieEinsatz columns: - column: Gasnetz - column: Anlage - column: BisJahr - column: Beschreibung - column: Technologie - column: VonJahr The table should have the title "TechnologieEinsatzs" und the data must be loaded from the server with the following relative URL: "/TechnologieService/technologieeinsatz/technologie/{id}" 3. The TechnologieEinsatzView must contain the following fields: - name: Anlage type: Anlage - name: Beschreibung type: STRING - name: BisJahr type: LONG - name: Gasnetz type: Gasnetz - name: Technologie type: Technologie - name: VonJahr type: LONG The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Technologie] select control should be loaded from the relative URL: "/TechnologieService/technologie" (HTTP-GET) The data source for the [Gasnetz] select control should be loaded from the relative URL: "/TechnologieService/gasnetz" (HTTP-GET) An existing TechnologieEinsatz entity should be loaded from the relative URL: "/TechnologieService/technologieeinsatz/{id}" (HTTP-GET) If a new TechnologieEinsatz entity has been created, the new entity should be posted to the relative URL: "/TechnologieService/technologieeinsatz" (HTTP-POST) If an existing TechnologieEinsatz entity has been updated, the modified entity should be sent to the relative URL: "/TechnologieService/technologieeinsatz/{id}" (HTTP-PUT) If an existing TechnologieEinsatz entity has to be deleted, the following relative URL should be called: "/TechnologieService/technologieeinsatz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum