Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BetriebApp
Please create a React-JS application for the BetriebModule. The application has to offer the following views for the user interface: 1. BetriebView 2. BetriebPflanzeView 3. PflanzeView 4. PflanzenkategorieView 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 BetriebView must contain the following fields: - name: Betriebstyp type: STRING - name: Mitarbeiteranzahl type: LONG - name: Name type: STRING - name: Standort type: STRING An existing Betrieb entity should be loaded from the relative URL: "/BetriebService/betrieb/{id}" (HTTP-GET) If a new Betrieb entity has been created, the new entity should be posted to the relative URL: "/BetriebService/betrieb" (HTTP-POST) If an existing Betrieb entity has been updated, the modified entity should be sent to the relative URL: "/BetriebService/betrieb/{id}" (HTTP-PUT) If an existing Betrieb entity has to be deleted, the following relative URL should be called: "/BetriebService/betrieb/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BetriebProduktionsmethode columns: - column: Produktionsmethode - column: Betrieb The table should have the title "BetriebProduktionsmethodes" und the data must be loaded from the server with the following relative URL: "/ProduktionsmethodeService/betriebproduktionsmethode/betrieb/{id}" Add a HTML table to the view with the following BetriebFachsparte columns: - column: Betrieb - column: Fachsparte The table should have the title "BetriebFachspartes" und the data must be loaded from the server with the following relative URL: "/FachsparteService/betriebfachsparte/betrieb/{id}" Add a HTML table to the view with the following BetriebPflanze columns: - column: Pflanze - column: Betrieb The table should have the title "BetriebPflanzes" und the data must be loaded from the server with the following relative URL: "/BetriebService/betriebpflanze/betrieb/{id}" 2. The BetriebPflanzeView must contain the following fields: - name: Betrieb type: Betrieb - name: Pflanze type: Pflanze The data source for the [Betrieb] select control should be loaded from the relative URL: "/BetriebService/betrieb" (HTTP-GET) The data source for the [Pflanze] select control should be loaded from the relative URL: "/BetriebService/pflanze" (HTTP-GET) An existing BetriebPflanze entity should be loaded from the relative URL: "/BetriebService/betriebpflanze/{id}" (HTTP-GET) If a new BetriebPflanze entity has been created, the new entity should be posted to the relative URL: "/BetriebService/betriebpflanze" (HTTP-POST) If an existing BetriebPflanze entity has been updated, the modified entity should be sent to the relative URL: "/BetriebService/betriebpflanze/{id}" (HTTP-PUT) If an existing BetriebPflanze entity has to be deleted, the following relative URL should be called: "/BetriebService/betriebpflanze/{id}" (HTTP-DELETE) 3. The PflanzeView must contain the following fields: - name: Kategorie type: Pflanzenkategorie - name: Name type: STRING - name: WissenschaftlicherName type: STRING The data source for the [Kategorie] select control should be loaded from the relative URL: "/BetriebService/pflanzenkategorie" (HTTP-GET) An existing Pflanze entity should be loaded from the relative URL: "/BetriebService/pflanze/{id}" (HTTP-GET) If a new Pflanze entity has been created, the new entity should be posted to the relative URL: "/BetriebService/pflanze" (HTTP-POST) If an existing Pflanze entity has been updated, the modified entity should be sent to the relative URL: "/BetriebService/pflanze/{id}" (HTTP-PUT) If an existing Pflanze entity has to be deleted, the following relative URL should be called: "/BetriebService/pflanze/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Produkt columns: - column: Marktsegment - column: Pflanze - column: Name The table should have the title "Produkts" und the data must be loaded from the server with the following relative URL: "/MarktsegmentService/produkt/pflanze/{id}" Add a HTML table to the view with the following BetriebPflanze columns: - column: Pflanze - column: Betrieb The table should have the title "BetriebPflanzes" und the data must be loaded from the server with the following relative URL: "/BetriebService/betriebpflanze/pflanze/{id}" 4. The PflanzenkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Pflanzenkategorie entity should be loaded from the relative URL: "/BetriebService/pflanzenkategorie/{id}" (HTTP-GET) If a new Pflanzenkategorie entity has been created, the new entity should be posted to the relative URL: "/BetriebService/pflanzenkategorie" (HTTP-POST) If an existing Pflanzenkategorie entity has been updated, the modified entity should be sent to the relative URL: "/BetriebService/pflanzenkategorie/{id}" (HTTP-PUT) If an existing Pflanzenkategorie entity has to be deleted, the following relative URL should be called: "/BetriebService/pflanzenkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pflanze columns: - column: Name - column: WissenschaftlicherName - column: Kategorie The table should have the title "Pflanzes" und the data must be loaded from the server with the following relative URL: "/BetriebService/pflanze/kategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum