Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BaeckereiApp
Please create a React-JS application for the BaeckereiModule. The application has to offer the following views for the user interface: 1. BaeckereiView 2. BaeckereiFilialeView 3. BaeckereiLiteraturView 4. BeschaeftigungView 5. ExternerLinkView 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 BaeckereiView must contain the following fields: - name: Beschreibung type: STRING - name: Gruendungsjahr type: LONG - name: Hauptadresse type: Adresse - name: IstHandwerk type: BOOL - name: IstIndustrie type: BOOL - name: Name type: STRING - name: Rechtsform type: STRING The data source for the [Hauptadresse] select control should be loaded from the relative URL: "/AdresseService/adresse" (HTTP-GET) An existing Baeckerei entity should be loaded from the relative URL: "/BaeckereiService/baeckerei/{id}" (HTTP-GET) If a new Baeckerei entity has been created, the new entity should be posted to the relative URL: "/BaeckereiService/baeckerei" (HTTP-POST) If an existing Baeckerei entity has been updated, the modified entity should be sent to the relative URL: "/BaeckereiService/baeckerei/{id}" (HTTP-PUT) If an existing Baeckerei entity has to be deleted, the following relative URL should be called: "/BaeckereiService/baeckerei/{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/baeckerei/{id}" Add a HTML table to the view with the following ExternerLink columns: - column: Titel - column: Url - column: Baeckerei - column: Beschreibung The table should have the title "ExternerLinks" und the data must be loaded from the server with the following relative URL: "/BaeckereiService/externerlink/baeckerei/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: Geburtsdatum - column: Baeckerei - column: Nachname - column: Einstellungsdatum - column: Vorname - column: IstAzubi - column: Beruf The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/BerufService/mitarbeiter/baeckerei/{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/baeckerei/{id}" Add a HTML table to the view with the following BaeckereiLiteratur columns: - column: Baeckerei - column: Literatur The table should have the title "BaeckereiLiteraturs" und the data must be loaded from the server with the following relative URL: "/BaeckereiService/baeckereiliteratur/baeckerei/{id}" Add a HTML table to the view with the following Produkt columns: - column: Produktkategorie - column: IstSaisonal - column: IstHandgemacht - column: Baeckerei - column: Name - column: IstTiefgekuehlt The table should have the title "Produkts" und the data must be loaded from the server with the following relative URL: "/ZutatService/produkt/baeckerei/{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: "/BaeckereiService/baeckereifiliale/{id}" (HTTP-GET) If a new BaeckereiFiliale entity has been created, the new entity should be posted to the relative URL: "/BaeckereiService/baeckereifiliale" (HTTP-POST) If an existing BaeckereiFiliale entity has been updated, the modified entity should be sent to the relative URL: "/BaeckereiService/baeckereifiliale/{id}" (HTTP-PUT) If an existing BaeckereiFiliale entity has to be deleted, the following relative URL should be called: "/BaeckereiService/baeckereifiliale/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beschaeftigung columns: - column: BaeckereiFiliale - column: Mitarbeiter - column: Wochenstunden - column: Beruf - column: Startdatum - column: Enddatum The table should have the title "Beschaeftigungs" und the data must be loaded from the server with the following relative URL: "/BaeckereiService/beschaeftigung/baeckereifiliale/{id}" Add a HTML table to the view with the following Arbeitsunfall columns: - column: BaeckereiFiliale - column: Gefaehrdungstyp - column: Beschreibung - column: Mitarbeiter - column: Verletzungsschwere - column: UnfallDatum 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}" 3. The BaeckereiLiteraturView must contain the following fields: - name: Baeckerei type: Baeckerei - name: Literatur type: Literatur The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) The data source for the [Literatur] select control should be loaded from the relative URL: "/BerufService/literatur" (HTTP-GET) An existing BaeckereiLiteratur entity should be loaded from the relative URL: "/BaeckereiService/baeckereiliteratur/{id}" (HTTP-GET) If a new BaeckereiLiteratur entity has been created, the new entity should be posted to the relative URL: "/BaeckereiService/baeckereiliteratur" (HTTP-POST) If an existing BaeckereiLiteratur entity has been updated, the modified entity should be sent to the relative URL: "/BaeckereiService/baeckereiliteratur/{id}" (HTTP-PUT) If an existing BaeckereiLiteratur entity has to be deleted, the following relative URL should be called: "/BaeckereiService/baeckereiliteratur/{id}" (HTTP-DELETE) 4. The BeschaeftigungView must contain the following fields: - name: BaeckereiFiliale type: BaeckereiFiliale - name: Beruf type: Beruf - name: Enddatum type: DATE - name: Mitarbeiter type: Mitarbeiter - name: Startdatum type: DATE - name: Wochenstunden type: DOUBLE The data source for the [Beruf] select control should be loaded from the relative URL: "/BerufService/beruf" (HTTP-GET) The data source for the [BaeckereiFiliale] select control should be loaded from the relative URL: "/BaeckereiService/baeckereifiliale" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/BerufService/mitarbeiter" (HTTP-GET) An existing Beschaeftigung entity should be loaded from the relative URL: "/BaeckereiService/beschaeftigung/{id}" (HTTP-GET) If a new Beschaeftigung entity has been created, the new entity should be posted to the relative URL: "/BaeckereiService/beschaeftigung" (HTTP-POST) If an existing Beschaeftigung entity has been updated, the modified entity should be sent to the relative URL: "/BaeckereiService/beschaeftigung/{id}" (HTTP-PUT) If an existing Beschaeftigung entity has to be deleted, the following relative URL should be called: "/BaeckereiService/beschaeftigung/{id}" (HTTP-DELETE) 5. The ExternerLinkView must contain the following fields: - name: Baeckerei type: Baeckerei - name: Beschreibung type: STRING - name: Titel type: STRING - name: Url type: STRING The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) An existing ExternerLink entity should be loaded from the relative URL: "/BaeckereiService/externerlink/{id}" (HTTP-GET) If a new ExternerLink entity has been created, the new entity should be posted to the relative URL: "/BaeckereiService/externerlink" (HTTP-POST) If an existing ExternerLink entity has been updated, the modified entity should be sent to the relative URL: "/BaeckereiService/externerlink/{id}" (HTTP-PUT) If an existing ExternerLink entity has to be deleted, the following relative URL should be called: "/BaeckereiService/externerlink/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum