Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AdresseApp
Please create a React-JS application for the AdresseModule. The application has to offer the following views for the user interface: 1. AdresseView 2. LandView 3. RegionView 4. StadtView 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 AdresseView must contain the following fields: - name: Postleitzahl type: STRING - name: Stadt type: Stadt - name: Strasse type: STRING The data source for the [Stadt] select control should be loaded from the relative URL: "/AdresseService/stadt" (HTTP-GET) An existing Adresse entity should be loaded from the relative URL: "/AdresseService/adresse/{id}" (HTTP-GET) If a new Adresse entity has been created, the new entity should be posted to the relative URL: "/AdresseService/adresse" (HTTP-POST) If an existing Adresse entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/adresse/{id}" (HTTP-PUT) If an existing Adresse entity has to be deleted, the following relative URL should be called: "/AdresseService/adresse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BaeckereiFiliale columns: - column: Schliessungsdatum - column: Eroeffnungsdatum - column: Baeckerei - column: Filialtyp - column: Adresse - column: IstSelbstbedienung - column: Name The table should have the title "BaeckereiFiliales" und the data must be loaded from the server with the following relative URL: "/BaeckereiService/baeckereifiliale/adresse/{id}" Add a HTML table to the view with the following Baeckerei columns: - column: Rechtsform - column: Beschreibung - column: Hauptadresse - column: IstHandwerk - column: Name - column: IstIndustrie - column: Gruendungsjahr The table should have the title "Baeckereis" und the data must be loaded from the server with the following relative URL: "/BaeckereiService/baeckerei/hauptadresse/{id}" Add a HTML table to the view with the following Produktionsstandort columns: - column: Baeckerei - column: HatBackstubenMuseum - column: Name - column: Produktionsskala - column: IstVollautomatisiert - column: Adresse The table should have the title "Produktionsstandorts" und the data must be loaded from the server with the following relative URL: "/BackstubeService/produktionsstandort/adresse/{id}" 2. 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: "/AdresseService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/AdresseService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/AdresseService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Region columns: - column: Land - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/AdresseService/region/land/{id}" Add a HTML table to the view with the following BaeckereiStatistik columns: - column: StatistikJahr - column: AnzahlBaeckereien - column: Groessenklasse - column: GesamtUmsatzMioEuro - column: Land - column: AnzahlAzubis - column: AnzahlMitarbeiter The table should have the title "BaeckereiStatistiks" und the data must be loaded from the server with the following relative URL: "/StatistikJahrService/baeckereistatistik/land/{id}" 3. The RegionView must contain the following fields: - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/AdresseService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/AdresseService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/AdresseService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/AdresseService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Einwohner - column: Region - column: Name The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/AdresseService/stadt/region/{id}" 4. The StadtView must contain the following fields: - name: Einwohner type: LONG - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/AdresseService/region" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/AdresseService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/AdresseService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/AdresseService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Adresse columns: - column: Postleitzahl - column: Stadt - column: Strasse The table should have the title "Adresses" und the data must be loaded from the server with the following relative URL: "/AdresseService/adresse/stadt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum