Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GemeindeApp
Please create a React-JS application for the GemeindeModule. The application has to offer the following views for the user interface: 1. AbfallkategorieView 2. AnlageView 3. GemeindeView 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 AbfallkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Abfallkategorie entity should be loaded from the relative URL: "/GemeindeService/abfallkategorie/{id}" (HTTP-GET) If a new Abfallkategorie entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/abfallkategorie" (HTTP-POST) If an existing Abfallkategorie entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/abfallkategorie/{id}" (HTTP-PUT) If an existing Abfallkategorie entity has to be deleted, the following relative URL should be called: "/GemeindeService/abfallkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallstrom columns: - column: Abfallart - column: Beschreibung - column: Entstehungsjahr - column: QuelleAkteur - column: MengeTonnenGeschaetzt - column: Abfallkategorie - column: Abfallfraktion The table should have the title "Abfallstroms" und the data must be loaded from the server with the following relative URL: "/AbfallstromService/abfallstrom/abfallkategorie/{id}" 2. The AnlageView must contain the following fields: - name: Adresszeile type: STRING - name: AnlagenTyp type: STRING - name: Beschreibung type: STRING - name: BetreiberAkteur type: Akteur - name: Gemeinde type: Gemeinde - name: InbetriebnahmeDatum type: DATE - name: Name type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: StilllegungDatum type: DATE The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [BetreiberAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Anlage entity should be loaded from the relative URL: "/GemeindeService/anlage/{id}" (HTTP-GET) If a new Anlage entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/anlage" (HTTP-POST) If an existing Anlage entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/anlage/{id}" (HTTP-PUT) If an existing Anlage entity has to be deleted, the following relative URL should be called: "/GemeindeService/anlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AnlagenBehandlungsfaehigkeit columns: - column: Anlage - column: Behandlungsart - column: Abfallart - column: Abfallfraktion - column: KapazitaetTonnenProJahr The table should have the title "AnlagenBehandlungsfaehigkeits" und the data must be loaded from the server with the following relative URL: "/AbfallartService/anlagenbehandlungsfaehigkeit/anlage/{id}" Add a HTML table to the view with the following Umweltbewertung columns: - column: WirkungsScore - column: Anlage - column: Beschreibung - column: BewertungsDatum - column: Umweltwirkungstyp - column: Minderungsmassnahmen The table should have the title "Umweltbewertungs" und the data must be loaded from the server with the following relative URL: "/UmweltwirkungstypService/umweltbewertung/anlage/{id}" Add a HTML table to the view with the following Behandlungsvorgang columns: - column: EnergieRueckgewinnungMWh - column: Behandlungsart - column: VorgangsDatum - column: AusgangsmengeTonnen - column: Abfallstrom - column: EingangsmengeTonnen - column: Anlage The table should have the title "Behandlungsvorgangs" und the data must be loaded from the server with the following relative URL: "/BehandlungsartService/behandlungsvorgang/anlage/{id}" Add a HTML table to the view with the following Abfalltransport columns: - column: TransportDatum - column: ZielDeponie - column: Transportart - column: ZielAnlage - column: Abfallstrom - column: QuelleAnlage - column: TransportMengeTonnen The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/DeponieService/abfalltransport/quelleanlage/{id}" Add a HTML table to the view with the following Abfalltransport columns: - column: TransportDatum - column: ZielDeponie - column: Transportart - column: ZielAnlage - column: Abfallstrom - column: QuelleAnlage - column: TransportMengeTonnen The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/DeponieService/abfalltransport/zielanlage/{id}" Add a HTML table to the view with the following AnlagenKonformitaet columns: - column: Bemerkungen - column: Anlage - column: KonformFlag - column: Rechtsanforderung - column: PruefDatum The table should have the title "AnlagenKonformitaets" und the data must be loaded from the server with the following relative URL: "/RechtsanforderungService/anlagenkonformitaet/anlage/{id}" 3. The GemeindeView must contain the following fields: - name: Einwohnerzahl type: LONG - name: FlaecheQuadratkilometer type: STRING - name: Land type: Land - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/AkteurService/land" (HTTP-GET) An existing Gemeinde entity should be loaded from the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-GET) If a new Gemeinde entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeinde" (HTTP-POST) If an existing Gemeinde entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-PUT) If an existing Gemeinde entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeinde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GemeindeZustaendigkeit columns: - column: BeginnDatum - column: Abfallart - column: EndeDatum - column: Gemeinde - column: Beschreibung The table should have the title "GemeindeZustaendigkeits" und the data must be loaded from the server with the following relative URL: "/AbfallartService/gemeindezustaendigkeit/gemeinde/{id}" Add a HTML table to the view with the following Dienstleistungsvertrag columns: - column: DienstleisterAkteur - column: Leistungsbeschreibung - column: Kostenmodell - column: Gemeinde - column: AuftraggeberAkteur - column: Vertragsbeginn - column: Vertragsende The table should have the title "Dienstleistungsvertrags" und the data must be loaded from the server with the following relative URL: "/AbfallfraktionService/dienstleistungsvertrag/gemeinde/{id}" Add a HTML table to the view with the following Anlage columns: - column: InbetriebnahmeDatum - column: AnlagenTyp - column: Name - column: Gemeinde - column: Beschreibung - column: StilllegungDatum - column: BetreiberAkteur - column: Stadt - column: Postleitzahl - column: Adresszeile The table should have the title "Anlages" und the data must be loaded from the server with the following relative URL: "/GemeindeService/anlage/gemeinde/{id}" Add a HTML table to the view with the following Abfallwirtschaftsplan columns: - column: PlanEbene - column: GueltigBis - column: Land - column: Gemeinde - column: GueltigVon - column: Region - column: Titel - column: Beschreibung The table should have the title "Abfallwirtschaftsplans" und the data must be loaded from the server with the following relative URL: "/RegionService/abfallwirtschaftsplan/gemeinde/{id}" Add a HTML table to the view with the following Sammelsystem columns: - column: Beschreibung - column: Gemeinde - column: SystemTyp - column: Name The table should have the title "Sammelsystems" und the data must be loaded from the server with the following relative URL: "/SammelsystemService/sammelsystem/gemeinde/{id}" Add a HTML table to the view with the following Deponie columns: - column: Gemeinde - column: BetreiberAkteur - column: SchliessDatum - column: DeponieTyp - column: Beschreibung - column: Name - column: StartDatum The table should have the title "Deponies" und the data must be loaded from the server with the following relative URL: "/DeponieService/deponie/gemeinde/{id}" Add a HTML table to the view with the following HistorischesEreignis columns: - column: Beschreibung - column: Titel - column: Gemeinde - column: EreignisDatum - column: Land The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/RechtsanforderungService/historischesereignis/gemeinde/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum