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. LogistikUnternehmenView 4. VerkehrsmodusView 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 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 LogistikUnternehmenView must contain the following fields: - name: GroessenKlasse type: STRING - name: IstIntegrator type: BOOL - name: IstTop20 type: BOOL - name: Name type: STRING - name: SektorBeschreibung type: STRING - name: SitzLand type: STRING - name: SitzOrt type: STRING An existing LogistikUnternehmen entity should be loaded from the relative URL: "/FischereiHafenService/logistikunternehmen/{id}" (HTTP-GET) If a new LogistikUnternehmen entity has been created, the new entity should be posted to the relative URL: "/FischereiHafenService/logistikunternehmen" (HTTP-POST) If an existing LogistikUnternehmen entity has been updated, the modified entity should be sent to the relative URL: "/FischereiHafenService/logistikunternehmen/{id}" (HTTP-PUT) If an existing LogistikUnternehmen entity has to be deleted, the following relative URL should be called: "/FischereiHafenService/logistikunternehmen/{id}" (HTTP-DELETE) 4. The VerkehrsmodusView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Verkehrsmodus entity should be loaded from the relative URL: "/FischereiHafenService/verkehrsmodus/{id}" (HTTP-GET) If a new Verkehrsmodus entity has been created, the new entity should be posted to the relative URL: "/FischereiHafenService/verkehrsmodus" (HTTP-POST) If an existing Verkehrsmodus entity has been updated, the modified entity should be sent to the relative URL: "/FischereiHafenService/verkehrsmodus/{id}" (HTTP-PUT) If an existing Verkehrsmodus entity has to be deleted, the following relative URL should be called: "/FischereiHafenService/verkehrsmodus/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerkehrsStatistik columns: - column: MengePassagiere - column: Studie - column: Schiffsanlaeufe - column: Wasserstrasse - column: Region - column: Jahr - column: MengeFahrzeuge - column: Verkehrsmodus - column: Quelle - column: MengeTonnen - column: MengeTeu - column: Beschreibung The table should have the title "VerkehrsStatistiks" und the data must be loaded from the server with the following relative URL: "/StudieService/verkehrsstatistik/verkehrsmodus/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum