Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. EreignisView 2. GasnutzungView 3. LandView 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 EreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Ereignisart type: STRING - name: Jahr type: LONG - name: Krieg type: Krieg - name: Land type: Land - name: Monat type: LONG - name: Name type: STRING - name: Stadt type: Stadt - name: Tag type: LONG - name: Wirtschaftskrise type: Wirtschaftskrise The data source for the [Krieg] select control should be loaded from the relative URL: "/MarktgebietService/krieg" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/AnlageService/stadt" (HTTP-GET) The data source for the [Wirtschaftskrise] select control should be loaded from the relative URL: "/AnlageService/wirtschaftskrise" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Ereignis entity should be loaded from the relative URL: "/LandService/ereignis/{id}" (HTTP-GET) If a new Ereignis entity has been created, the new entity should be posted to the relative URL: "/LandService/ereignis" (HTTP-POST) If an existing Ereignis entity has been updated, the modified entity should be sent to the relative URL: "/LandService/ereignis/{id}" (HTTP-PUT) If an existing Ereignis entity has to be deleted, the following relative URL should be called: "/LandService/ereignis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EreignisBeteiligung columns: - column: Rolle - column: Notizen - column: Organisation - column: Pipeline - column: Ereignis - column: Person - column: Anlage The table should have the title "EreignisBeteiligungs" und the data must be loaded from the server with the following relative URL: "/OrganisationService/ereignisbeteiligung/ereignis/{id}" 2. The GasnutzungView must contain the following fields: - name: Gasart type: Gasart - name: Jahr type: LONG - name: Land type: Land - name: Notizen type: STRING - name: Sektor type: STRING - name: VolumenBcm type: STRING The data source for the [Gasart] select control should be loaded from the relative URL: "/GasartService/gasart" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gasnutzung entity should be loaded from the relative URL: "/LandService/gasnutzung/{id}" (HTTP-GET) If a new Gasnutzung entity has been created, the new entity should be posted to the relative URL: "/LandService/gasnutzung" (HTTP-POST) If an existing Gasnutzung entity has been updated, the modified entity should be sent to the relative URL: "/LandService/gasnutzung/{id}" (HTTP-PUT) If an existing Gasnutzung entity has to be deleted, the following relative URL should be called: "/LandService/gasnutzung/{id}" (HTTP-DELETE) 3. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING - name: Notizen type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Anlage columns: - column: Land - column: Notizen - column: Startjahr - column: Name - column: Stadt - column: Anlagetyp - column: Endjahr - column: BetreiberOrganisation The table should have the title "Anlages" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlage/land/{id}" Add a HTML table to the view with the following Person columns: - column: Vollname - column: Notizen - column: NationalitaetLand - column: Geburtsjahr - column: Todesjahr The table should have the title "Persons" und the data must be loaded from the server with the following relative URL: "/PersonService/person/nationalitaetland/{id}" Add a HTML table to the view with the following Region columns: - column: Land - column: Notizen - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/PipelineService/region/land/{id}" Add a HTML table to the view with the following Gasimport columns: - column: VolumenBcm - column: Gasart - column: PipelineRoute - column: ImportLand - column: ExportLand - column: Notizen - column: Jahr The table should have the title "Gasimports" und the data must be loaded from the server with the following relative URL: "/GasartService/gasimport/exportland/{id}" Add a HTML table to the view with the following Gasimport columns: - column: VolumenBcm - column: Gasart - column: PipelineRoute - column: ImportLand - column: ExportLand - column: Notizen - column: Jahr The table should have the title "Gasimports" und the data must be loaded from the server with the following relative URL: "/GasartService/gasimport/importland/{id}" Add a HTML table to the view with the following Stadt columns: - column: Region - column: EinwohnerSchaetzung - column: Notizen - column: Name - column: Land The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/AnlageService/stadt/land/{id}" Add a HTML table to the view with the following Gasquelle columns: - column: Startjahr - column: Endjahr - column: Land - column: Name - column: Notizen - column: Gasart - column: Quellentyp - column: StandortStadt The table should have the title "Gasquelles" und the data must be loaded from the server with the following relative URL: "/GasartService/gasquelle/land/{id}" Add a HTML table to the view with the following Gasnutzung columns: - column: Gasart - column: Jahr - column: Land - column: Notizen - column: Sektor - column: VolumenBcm The table should have the title "Gasnutzungs" und the data must be loaded from the server with the following relative URL: "/LandService/gasnutzung/land/{id}" Add a HTML table to the view with the following Gasnetz columns: - column: Region - column: Land - column: Endjahr - column: BetreiberOrganisation - column: Name - column: Startjahr - column: Notizen The table should have the title "Gasnetzs" und the data must be loaded from the server with the following relative URL: "/TechnologieService/gasnetz/land/{id}" Add a HTML table to the view with the following Organisation columns: - column: Land - column: SitzStadt - column: Gruendungsjahr - column: Aufloesungsjahr - column: Notizen - column: Organisationsart - column: Name The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/OrganisationService/organisation/land/{id}" Add a HTML table to the view with the following Pipeline columns: - column: HauptGasart - column: ZielLand - column: HerkunftsLand - column: Name - column: Startjahr - column: Endjahr - column: Notizen - column: LaengeKm The table should have the title "Pipelines" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipeline/herkunftsland/{id}" Add a HTML table to the view with the following Pipeline columns: - column: HauptGasart - column: ZielLand - column: HerkunftsLand - column: Name - column: Startjahr - column: Endjahr - column: Notizen - column: LaengeKm The table should have the title "Pipelines" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipeline/zielland/{id}" Add a HTML table to the view with the following Regulierung columns: - column: Jahr - column: Beschreibung - column: Land - column: Name The table should have the title "Regulierungs" und the data must be loaded from the server with the following relative URL: "/PersonService/regulierung/land/{id}" Add a HTML table to the view with the following Ereignis columns: - column: Tag - column: Monat - column: Wirtschaftskrise - column: Land - column: Krieg - column: Ereignisart - column: Jahr - column: Beschreibung - column: Stadt - column: Name The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/LandService/ereignis/land/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum