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. BaeckereiFilialeView 3. BerufView 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 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: "/RegionService/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: Eroeffnungsdatum - column: Schliessungsdatum - column: Baeckerei - column: Adresse - column: Name - column: Filialtyp - column: IstSelbstbedienung The table should have the title "BaeckereiFiliales" und the data must be loaded from the server with the following relative URL: "/AdresseService/baeckereifiliale/adresse/{id}" Add a HTML table to the view with the following Baeckerei columns: - column: IstHandwerk - column: Rechtsform - column: Gruendungsjahr - column: Hauptadresse - column: IstIndustrie - column: Beschreibung - column: Name 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: HatBackstubenMuseum - column: Produktionsskala - column: Baeckerei - column: Name - 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: "/ProduktionsstandortService/produktionsstandort/adresse/{id}" 2. The BaeckereiFilialeView must contain the following fields: - name: Adresse type: Adresse - name: Baeckerei type: Baeckerei - name: Eroeffnungsdatum type: DATE - name: Filialtyp type: STRING - name: IstSelbstbedienung type: BOOL - name: Name type: STRING - name: Schliessungsdatum type: DATE The data source for the [Adresse] select control should be loaded from the relative URL: "/AdresseService/adresse" (HTTP-GET) The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) An existing BaeckereiFiliale entity should be loaded from the relative URL: "/AdresseService/baeckereifiliale/{id}" (HTTP-GET) If a new BaeckereiFiliale entity has been created, the new entity should be posted to the relative URL: "/AdresseService/baeckereifiliale" (HTTP-POST) If an existing BaeckereiFiliale entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/baeckereifiliale/{id}" (HTTP-PUT) If an existing BaeckereiFiliale entity has to be deleted, the following relative URL should be called: "/AdresseService/baeckereifiliale/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Arbeitsunfall columns: - column: Gefaehrdungstyp - column: Verletzungsschwere - column: BaeckereiFiliale - column: UnfallDatum - column: Mitarbeiter - column: Beschreibung The table should have the title "Arbeitsunfalls" und the data must be loaded from the server with the following relative URL: "/SchutzmassnahmeService/arbeitsunfall/baeckereifiliale/{id}" Add a HTML table to the view with the following Beschaeftigung columns: - column: Mitarbeiter - column: Wochenstunden - column: Beruf - column: Startdatum - column: BaeckereiFiliale - column: Enddatum The table should have the title "Beschaeftigungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/beschaeftigung/baeckereifiliale/{id}" 3. The BerufView must contain the following fields: - name: Beschreibung type: STRING - name: ErfordertMeister type: BOOL - name: Name type: STRING An existing Beruf entity should be loaded from the relative URL: "/AdresseService/beruf/{id}" (HTTP-GET) If a new Beruf entity has been created, the new entity should be posted to the relative URL: "/AdresseService/beruf" (HTTP-POST) If an existing Beruf entity has been updated, the modified entity should be sent to the relative URL: "/AdresseService/beruf/{id}" (HTTP-PUT) If an existing Beruf entity has to be deleted, the following relative URL should be called: "/AdresseService/beruf/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beschaeftigung columns: - column: Mitarbeiter - column: Wochenstunden - column: Beruf - column: Startdatum - column: BaeckereiFiliale - column: Enddatum The table should have the title "Beschaeftigungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/beschaeftigung/beruf/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: Geburtsdatum - column: Baeckerei - column: Beruf - column: IstAzubi - column: Vorname - column: Einstellungsdatum - column: Nachname The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/mitarbeiter/beruf/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum