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. BeleuchtungspflichtView 2. EnergieStatistikView 3. LandView 4. RechtsvorschriftView 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 BeleuchtungspflichtView must contain the following fields: - name: Gemeinde type: Gemeinde - name: GiltSeitJahr type: LONG - name: Hinweise type: STRING - name: Rechtsvorschrift type: Rechtsvorschrift The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Rechtsvorschrift] select control should be loaded from the relative URL: "/LandService/rechtsvorschrift" (HTTP-GET) An existing Beleuchtungspflicht entity should be loaded from the relative URL: "/LandService/beleuchtungspflicht/{id}" (HTTP-GET) If a new Beleuchtungspflicht entity has been created, the new entity should be posted to the relative URL: "/LandService/beleuchtungspflicht" (HTTP-POST) If an existing Beleuchtungspflicht entity has been updated, the modified entity should be sent to the relative URL: "/LandService/beleuchtungspflicht/{id}" (HTTP-PUT) If an existing Beleuchtungspflicht entity has to be deleted, the following relative URL should be called: "/LandService/beleuchtungspflicht/{id}" (HTTP-DELETE) 2. The EnergieStatistikView must contain the following fields: - name: AnteilNationalerStromProzent type: STRING - name: AnteilPrimaerenergieProzent type: STRING - name: Jahr type: LONG - name: Land type: Land - name: LeuchtenAnzahl type: LONG - name: StromverbrauchTWh type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing EnergieStatistik entity should be loaded from the relative URL: "/LandService/energiestatistik/{id}" (HTTP-GET) If a new EnergieStatistik entity has been created, the new entity should be posted to the relative URL: "/LandService/energiestatistik" (HTTP-POST) If an existing EnergieStatistik entity has been updated, the modified entity should be sent to the relative URL: "/LandService/energiestatistik/{id}" (HTTP-PUT) If an existing EnergieStatistik entity has to be deleted, the following relative URL should be called: "/LandService/energiestatistik/{id}" (HTTP-DELETE) 3. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name 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 Foerderprogramm columns: - column: Land - column: StartJahr - column: Anbieter - column: Name - column: Beschreibung - column: EndJahr The table should have the title "Foerderprogramms" und the data must be loaded from the server with the following relative URL: "/GemeindeService/foerderprogramm/land/{id}" Add a HTML table to the view with the following EnergieStatistik columns: - column: AnteilPrimaerenergieProzent - column: StromverbrauchTWh - column: Land - column: LeuchtenAnzahl - column: Jahr - column: AnteilNationalerStromProzent The table should have the title "EnergieStatistiks" und the data must be loaded from the server with the following relative URL: "/LandService/energiestatistik/land/{id}" Add a HTML table to the view with the following Rechtsvorschrift columns: - column: BedingungenText - column: Land - column: Beschreibung - column: BeleuchtungPflicht - column: Paragraph - column: GesetzName The table should have the title "Rechtsvorschrifts" und the data must be loaded from the server with the following relative URL: "/LandService/rechtsvorschrift/land/{id}" Add a HTML table to the view with the following Gemeinde columns: - column: Einwohner - column: Land - column: Name The table should have the title "Gemeindes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gemeinde/land/{id}" 4. The RechtsvorschriftView must contain the following fields: - name: BedingungenText type: STRING - name: BeleuchtungPflicht type: BOOL - name: Beschreibung type: STRING - name: GesetzName type: STRING - name: Land type: Land - name: Paragraph type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Rechtsvorschrift entity should be loaded from the relative URL: "/LandService/rechtsvorschrift/{id}" (HTTP-GET) If a new Rechtsvorschrift entity has been created, the new entity should be posted to the relative URL: "/LandService/rechtsvorschrift" (HTTP-POST) If an existing Rechtsvorschrift entity has been updated, the modified entity should be sent to the relative URL: "/LandService/rechtsvorschrift/{id}" (HTTP-PUT) If an existing Rechtsvorschrift entity has to be deleted, the following relative URL should be called: "/LandService/rechtsvorschrift/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beleuchtungspflicht columns: - column: Hinweise - column: GiltSeitJahr - column: Gemeinde - column: Rechtsvorschrift The table should have the title "Beleuchtungspflichts" und the data must be loaded from the server with the following relative URL: "/LandService/beleuchtungspflicht/rechtsvorschrift/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum