Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FischereiHafenApp
Please create a React-JS application for the FischereiHafenModule. The application has to offer the following views for the user interface: 1. FischereiHafenView 2. FischereiSchiffView 3. HandlungsFeldView 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 FischereiHafenView must contain the following fields: - name: Name type: STRING - name: Notizen type: STRING - name: Region type: STRING - name: Seegebiet type: STRING An existing FischereiHafen entity should be loaded from the relative URL: "/FischereiHafenService/fischereihafen/{id}" (HTTP-GET) If a new FischereiHafen entity has been created, the new entity should be posted to the relative URL: "/FischereiHafenService/fischereihafen" (HTTP-POST) If an existing FischereiHafen entity has been updated, the modified entity should be sent to the relative URL: "/FischereiHafenService/fischereihafen/{id}" (HTTP-PUT) If an existing FischereiHafen entity has to be deleted, the following relative URL should be called: "/FischereiHafenService/fischereihafen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FischereiStatistik columns: - column: Studie - column: UmsatzEuro - column: FangTonnen - column: IstOstsee - column: DurchschnittspreisEuro - column: Schiffstyp - column: FischereiHafen - column: AnzahlBesatzung - column: AnzahlSchiffe - column: Jahr - column: IstNordsee The table should have the title "FischereiStatistiks" und the data must be loaded from the server with the following relative URL: "/StudieService/fischereistatistik/fischereihafen/{id}" Add a HTML table to the view with the following FischereiSchiff columns: - column: FischereiHafen - column: Kennzeichen - column: KapitalKlasse - column: Schiffstyp The table should have the title "FischereiSchiffs" und the data must be loaded from the server with the following relative URL: "/FischereiHafenService/fischereischiff/fischereihafen/{id}" 2. The FischereiSchiffView must contain the following fields: - name: FischereiHafen type: FischereiHafen - name: KapitalKlasse type: STRING - name: Kennzeichen type: STRING - name: Schiffstyp type: STRING The data source for the [FischereiHafen] select control should be loaded from the relative URL: "/FischereiHafenService/fischereihafen" (HTTP-GET) An existing FischereiSchiff entity should be loaded from the relative URL: "/FischereiHafenService/fischereischiff/{id}" (HTTP-GET) If a new FischereiSchiff entity has been created, the new entity should be posted to the relative URL: "/FischereiHafenService/fischereischiff" (HTTP-POST) If an existing FischereiSchiff entity has been updated, the modified entity should be sent to the relative URL: "/FischereiHafenService/fischereischiff/{id}" (HTTP-PUT) If an existing FischereiSchiff entity has to be deleted, the following relative URL should be called: "/FischereiHafenService/fischereischiff/{id}" (HTTP-DELETE) 3. The HandlungsFeldView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing HandlungsFeld entity should be loaded from the relative URL: "/FischereiHafenService/handlungsfeld/{id}" (HTTP-GET) If a new HandlungsFeld entity has been created, the new entity should be posted to the relative URL: "/FischereiHafenService/handlungsfeld" (HTTP-POST) If an existing HandlungsFeld entity has been updated, the modified entity should be sent to the relative URL: "/FischereiHafenService/handlungsfeld/{id}" (HTTP-PUT) If an existing HandlungsFeld entity has to be deleted, the following relative URL should be called: "/FischereiHafenService/handlungsfeld/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Empfehlung columns: - column: Titel - column: IstTopEmpfehlung - column: Code - column: Prioritaet - column: HandlungsFeld - column: Studie - column: Beschreibung The table should have the title "Empfehlungs" und the data must be loaded from the server with the following relative URL: "/StudieService/empfehlung/handlungsfeld/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum