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. FilialeView 2. HandelsketteView 3. LandView 4. StadtView 5. WarehouseClubView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The FilialeView must contain the following fields: - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: Eroeffnungsdatum type: DATE - name: Filialnummer type: STRING - name: Land type: Land - name: Schliessungsdatum type: DATE - name: Stadt type: Stadt - name: Supermarkt type: Supermarkt - name: VerkaufsflaecheQm type: INT The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Filiale entity should be loaded from the relative URL: "/LandService/filiale/{id}" (HTTP-GET) If a new Filiale entity has been created, the new entity should be posted to the relative URL: "/LandService/filiale" (HTTP-POST) If an existing Filiale entity has been updated, the modified entity should be sent to the relative URL: "/LandService/filiale/{id}" (HTTP-PUT) If an existing Filiale entity has to be deleted, the following relative URL should be called: "/LandService/filiale/{id}" (HTTP-DELETE) 2. The HandelsketteView must contain the following fields: - name: Gruendungsjahr type: INT - name: HauptsitzStadt type: Stadt - name: IstDiscounter type: BOOL - name: IstVollsortimenter type: BOOL - name: Land type: Land - name: Name type: STRING The data source for the [HauptsitzStadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Handelskette entity should be loaded from the relative URL: "/LandService/handelskette/{id}" (HTTP-GET) If a new Handelskette entity has been created, the new entity should be posted to the relative URL: "/LandService/handelskette" (HTTP-POST) If an existing Handelskette entity has been updated, the modified entity should be sent to the relative URL: "/LandService/handelskette/{id}" (HTTP-PUT) If an existing Handelskette entity has to be deleted, the following relative URL should be called: "/LandService/handelskette/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/handelskette/{id}" Add a HTML table to the view with the following EinkaufsgemeinschaftMitglied columns: - column: Einkaufsgemeinschaft - column: Beitrittsdatum - column: Handelskette The table should have the title "EinkaufsgemeinschaftMitglieds" und the data must be loaded from the server with the following relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaftmitglied/handelskette/{id}" Add a HTML table to the view with the following Franchisevertrag columns: - column: Vertragsbeginn - column: Vertragsende - column: Handelskette - column: FranchiseGebiet - column: FranchisenehmerName - column: Supermarkt The table should have the title "Franchisevertrags" und the data must be loaded from the server with the following relative URL: "/KasseService/franchisevertrag/handelskette/{id}" 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 Konsumgenossenschaft columns: - column: Name - column: Land - column: MindestGeldeinlage - column: Gruendungsjahr The table should have the title "Konsumgenossenschafts" und the data must be loaded from the server with the following relative URL: "/KonsumgenossenschaftService/konsumgenossenschaft/land/{id}" Add a HTML table to the view with the following Stadt columns: - column: Land - column: Einwohnerzahl - column: Name The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/LandService/stadt/land/{id}" Add a HTML table to the view with the following Filiale columns: - column: VerkaufsflaecheQm - column: Land - column: AdresseStrasse - column: Filialnummer - column: Eroeffnungsdatum - column: Supermarkt - column: Schliessungsdatum - column: Stadt - column: AdressePlz The table should have the title "Filiales" und the data must be loaded from the server with the following relative URL: "/LandService/filiale/land/{id}" Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/land/{id}" Add a HTML table to the view with the following Einkaufsgemeinschaft columns: - column: Land - column: Name - column: Gruendungsjahr The table should have the title "Einkaufsgemeinschafts" und the data must be loaded from the server with the following relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft/land/{id}" Add a HTML table to the view with the following Kunde columns: - column: Stadt - column: Geburtsdatum - column: Name - column: Land - column: HatKundenkarte - column: Kundenart The table should have the title "Kundes" und the data must be loaded from the server with the following relative URL: "/KundeService/kunde/land/{id}" Add a HTML table to the view with the following WarehouseClub columns: - column: Land - column: Mitgliedsgebuehr - column: HatSupermarktCharakter - column: Name The table should have the title "WarehouseClubs" und the data must be loaded from the server with the following relative URL: "/LandService/warehouseclub/land/{id}" Add a HTML table to the view with the following Handelskette columns: - column: Name - column: IstVollsortimenter - column: HauptsitzStadt - column: Land - column: IstDiscounter - column: Gruendungsjahr The table should have the title "Handelskettes" und the data must be loaded from the server with the following relative URL: "/LandService/handelskette/land/{id}" 4. The StadtView must contain the following fields: - name: Einwohnerzahl type: INT - name: Land type: Land - name: Name type: STRING 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: "/LandService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/LandService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/LandService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Filiale columns: - column: VerkaufsflaecheQm - column: Land - column: AdresseStrasse - column: Filialnummer - column: Eroeffnungsdatum - column: Supermarkt - column: Schliessungsdatum - column: Stadt - column: AdressePlz The table should have the title "Filiales" und the data must be loaded from the server with the following relative URL: "/LandService/filiale/stadt/{id}" Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/stadt/{id}" Add a HTML table to the view with the following Kunde columns: - column: Stadt - column: Geburtsdatum - column: Name - column: Land - column: HatKundenkarte - column: Kundenart The table should have the title "Kundes" und the data must be loaded from the server with the following relative URL: "/KundeService/kunde/stadt/{id}" Add a HTML table to the view with the following Handelskette columns: - column: Name - column: IstVollsortimenter - column: HauptsitzStadt - column: Land - column: IstDiscounter - column: Gruendungsjahr The table should have the title "Handelskettes" und the data must be loaded from the server with the following relative URL: "/LandService/handelskette/hauptsitzstadt/{id}" 5. The WarehouseClubView must contain the following fields: - name: HatSupermarktCharakter type: BOOL - name: Land type: Land - name: Mitgliedsgebuehr type: STRING - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing WarehouseClub entity should be loaded from the relative URL: "/LandService/warehouseclub/{id}" (HTTP-GET) If a new WarehouseClub entity has been created, the new entity should be posted to the relative URL: "/LandService/warehouseclub" (HTTP-POST) If an existing WarehouseClub entity has been updated, the modified entity should be sent to the relative URL: "/LandService/warehouseclub/{id}" (HTTP-PUT) If an existing WarehouseClub entity has to be deleted, the following relative URL should be called: "/LandService/warehouseclub/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum