Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LagerApp
Please create a React-JS application for the LagerModule. The application has to offer the following views for the user interface: 1. AbholstoppView 2. LagerView 3. LebensmittelsicherheitsSchulungView 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 AbholstoppView must contain the following fields: - name: Lager type: Lager - name: Reihenfolge type: LONG - name: Route type: Route - name: SpenderFiliale type: SpenderFiliale - name: StoppTyp type: STRING The data source for the [Lager] select control should be loaded from the relative URL: "/LagerService/lager" (HTTP-GET) The data source for the [Route] select control should be loaded from the relative URL: "/EhrenamtlicherService/route" (HTTP-GET) The data source for the [SpenderFiliale] select control should be loaded from the relative URL: "/AdresseService/spenderfiliale" (HTTP-GET) An existing Abholstopp entity should be loaded from the relative URL: "/LagerService/abholstopp/{id}" (HTTP-GET) If a new Abholstopp entity has been created, the new entity should be posted to the relative URL: "/LagerService/abholstopp" (HTTP-POST) If an existing Abholstopp entity has been updated, the modified entity should be sent to the relative URL: "/LagerService/abholstopp/{id}" (HTTP-PUT) If an existing Abholstopp entity has to be deleted, the following relative URL should be called: "/LagerService/abholstopp/{id}" (HTTP-DELETE) 2. The LagerView must contain the following fields: - name: KapazitaetKubikmeter type: STRING - name: Standort type: Standort - name: TemperaturzonenBeschreibung type: STRING The data source for the [Standort] select control should be loaded from the relative URL: "/StandortService/standort" (HTTP-GET) An existing Lager entity should be loaded from the relative URL: "/LagerService/lager/{id}" (HTTP-GET) If a new Lager entity has been created, the new entity should be posted to the relative URL: "/LagerService/lager" (HTTP-POST) If an existing Lager entity has been updated, the modified entity should be sent to the relative URL: "/LagerService/lager/{id}" (HTTP-PUT) If an existing Lager entity has to be deleted, the following relative URL should be called: "/LagerService/lager/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abholstopp columns: - column: Lager - column: StoppTyp - column: Route - column: Reihenfolge - column: SpenderFiliale The table should have the title "Abholstopps" und the data must be loaded from the server with the following relative URL: "/LagerService/abholstopp/lager/{id}" Add a HTML table to the view with the following Spendenposition columns: - column: Mindesthaltbarkeit - column: GewichtKg - column: Produktname - column: MengeEinheiten - column: Lager - column: Spende - column: Produktkategorie The table should have the title "Spendenpositions" und the data must be loaded from the server with the following relative URL: "/SpendeService/spendenposition/lager/{id}" Add a HTML table to the view with the following Einsatz columns: - column: BisDatum - column: Route - column: EinsatzTyp - column: Lager - column: VonDatum - column: Ausgabestelle - column: Ehrenamtlicher The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/einsatz/lager/{id}" 3. The LebensmittelsicherheitsSchulungView must contain the following fields: - name: Anbieter type: STRING - name: GueltigBis type: DATE - name: LokaleTafel type: LokaleTafel - name: PflichtFlag type: BOOL - name: SchulungsDatum type: DATE - name: Titel type: STRING The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing LebensmittelsicherheitsSchulung entity should be loaded from the relative URL: "/LagerService/lebensmittelsicherheitsschulung/{id}" (HTTP-GET) If a new LebensmittelsicherheitsSchulung entity has been created, the new entity should be posted to the relative URL: "/LagerService/lebensmittelsicherheitsschulung" (HTTP-POST) If an existing LebensmittelsicherheitsSchulung entity has been updated, the modified entity should be sent to the relative URL: "/LagerService/lebensmittelsicherheitsschulung/{id}" (HTTP-PUT) If an existing LebensmittelsicherheitsSchulung entity has to be deleted, the following relative URL should be called: "/LagerService/lebensmittelsicherheitsschulung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchulungsTeilnahme columns: - column: LebensmittelsicherheitsSchulung - column: ZertifikatNummer - column: Mitarbeiter - column: Ehrenamtlicher - column: BestandenFlag The table should have the title "SchulungsTeilnahmes" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/schulungsteilnahme/lebensmittelsicherheitsschulung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum