Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AnlageApp
Please create a React-JS application for the AnlageModule. The application has to offer the following views for the user interface: 1. AnlageView 2. OrganisationsAnlagenRolleView 3. StadtView 4. WirtschaftskriseView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AnlageView must contain the following fields: - name: Anlagetyp type: STRING - name: BetreiberOrganisation type: Organisation - name: Endjahr type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Stadt type: Stadt - 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 [Stadt] select control should be loaded from the relative URL: "/AnlageService/stadt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Anlage entity should be loaded from the relative URL: "/AnlageService/anlage/{id}" (HTTP-GET) If a new Anlage entity has been created, the new entity should be posted to the relative URL: "/AnlageService/anlage" (HTTP-POST) If an existing Anlage entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/anlage/{id}" (HTTP-PUT) If an existing Anlage entity has to be deleted, the following relative URL should be called: "/AnlageService/anlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OrganisationsAnlagenRolle columns: - column: Notizen - column: Endjahr - column: Organisation - column: Anlage - column: Rolle - column: Startjahr The table should have the title "OrganisationsAnlagenRolles" und the data must be loaded from the server with the following relative URL: "/AnlageService/organisationsanlagenrolle/anlage/{id}" 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/anlage/{id}" 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/anlage/{id}" Add a HTML table to the view with the following PipelineAbschnitt columns: - column: Notizen - column: LaengeKm - column: VonAnlage - column: ZuAnlage - column: Fertigstellung - column: Pipeline The table should have the title "PipelineAbschnitts" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipelineabschnitt/zuanlage/{id}" Add a HTML table to the view with the following PipelineAbschnitt columns: - column: Notizen - column: LaengeKm - column: VonAnlage - column: ZuAnlage - column: Fertigstellung - column: Pipeline The table should have the title "PipelineAbschnitts" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipelineabschnitt/vonanlage/{id}" 2. The OrganisationsAnlagenRolleView must contain the following fields: - name: Anlage type: Anlage - name: Endjahr type: LONG - name: Notizen type: STRING - name: Organisation type: Organisation - name: Rolle type: STRING - name: Startjahr type: LONG The data source for the [Organisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) An existing OrganisationsAnlagenRolle entity should be loaded from the relative URL: "/AnlageService/organisationsanlagenrolle/{id}" (HTTP-GET) If a new OrganisationsAnlagenRolle entity has been created, the new entity should be posted to the relative URL: "/AnlageService/organisationsanlagenrolle" (HTTP-POST) If an existing OrganisationsAnlagenRolle entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/organisationsanlagenrolle/{id}" (HTTP-PUT) If an existing OrganisationsAnlagenRolle entity has to be deleted, the following relative URL should be called: "/AnlageService/organisationsanlagenrolle/{id}" (HTTP-DELETE) 3. The StadtView must contain the following fields: - name: EinwohnerSchaetzung type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Region type: Region 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 Stadt entity should be loaded from the relative URL: "/AnlageService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/AnlageService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/AnlageService/stadt/{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/stadt/{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/standortstadt/{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/sitzstadt/{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/stadt/{id}" 4. The WirtschaftskriseView must contain the following fields: - name: Endjahr type: LONG - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG An existing Wirtschaftskrise entity should be loaded from the relative URL: "/AnlageService/wirtschaftskrise/{id}" (HTTP-GET) If a new Wirtschaftskrise entity has been created, the new entity should be posted to the relative URL: "/AnlageService/wirtschaftskrise" (HTTP-POST) If an existing Wirtschaftskrise entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/wirtschaftskrise/{id}" (HTTP-PUT) If an existing Wirtschaftskrise entity has to be deleted, the following relative URL should be called: "/AnlageService/wirtschaftskrise/{id}" (HTTP-DELETE) 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/wirtschaftskrise/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum