Overview
Summary
Contact
Donate
Imprint
Prompt for the
EngineApp
Please create a React-JS application for the EngineModule. The application has to offer the following views for the user interface: 1. EngineView 2. MemorialView 3. ZeppelinEngineView 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 EngineView must contain the following fields: - name: Cylinders type: INT - name: FuelType type: STRING - name: Manufacturer type: Organization - name: Name type: STRING - name: PowerHp type: STRING - name: PowerKw type: STRING The data source for the [Manufacturer] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) An existing Engine entity should be loaded from the relative URL: "/EngineService/engine/{id}" (HTTP-GET) If a new Engine entity has been created, the new entity should be posted to the relative URL: "/EngineService/engine" (HTTP-POST) If an existing Engine entity has been updated, the modified entity should be sent to the relative URL: "/EngineService/engine/{id}" (HTTP-PUT) If an existing Engine entity has to be deleted, the following relative URL should be called: "/EngineService/engine/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ZeppelinEngine columns: - column: Engine - column: Position - column: Count - column: Zeppelin The table should have the title "ZeppelinEngines" und the data must be loaded from the server with the following relative URL: "/EngineService/zeppelinengine/engine/{id}" 2. The MemorialView must contain the following fields: - name: Description type: STRING - name: Location type: Location - name: Name type: STRING - name: RelatedAccident type: Accident - name: UnveiledOn type: DATE The data source for the [RelatedAccident] select control should be loaded from the relative URL: "/LocationService/accident" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) An existing Memorial entity should be loaded from the relative URL: "/EngineService/memorial/{id}" (HTTP-GET) If a new Memorial entity has been created, the new entity should be posted to the relative URL: "/EngineService/memorial" (HTTP-POST) If an existing Memorial entity has been updated, the modified entity should be sent to the relative URL: "/EngineService/memorial/{id}" (HTTP-PUT) If an existing Memorial entity has to be deleted, the following relative URL should be called: "/EngineService/memorial/{id}" (HTTP-DELETE) 3. The ZeppelinEngineView must contain the following fields: - name: Count type: INT - name: Engine type: Engine - name: Position type: STRING - name: Zeppelin type: Zeppelin The data source for the [Zeppelin] select control should be loaded from the relative URL: "/ZeppelinService/zeppelin" (HTTP-GET) The data source for the [Engine] select control should be loaded from the relative URL: "/EngineService/engine" (HTTP-GET) An existing ZeppelinEngine entity should be loaded from the relative URL: "/EngineService/zeppelinengine/{id}" (HTTP-GET) If a new ZeppelinEngine entity has been created, the new entity should be posted to the relative URL: "/EngineService/zeppelinengine" (HTTP-POST) If an existing ZeppelinEngine entity has been updated, the modified entity should be sent to the relative URL: "/EngineService/zeppelinengine/{id}" (HTTP-PUT) If an existing ZeppelinEngine entity has to be deleted, the following relative URL should be called: "/EngineService/zeppelinengine/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint