Overview
Summary
Contact
Donate
Imprint
Prompt for the
ZeppelinApp
Please create a React-JS application for the ZeppelinModule. The application has to offer the following views for the user interface: 1. SeatView 2. ZeppelinView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The SeatView must contain the following fields: - name: SeatClass type: STRING - name: SeatNumber 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) An existing Seat entity should be loaded from the relative URL: "/ZeppelinService/seat/{id}" (HTTP-GET) If a new Seat entity has been created, the new entity should be posted to the relative URL: "/ZeppelinService/seat" (HTTP-POST) If an existing Seat entity has been updated, the modified entity should be sent to the relative URL: "/ZeppelinService/seat/{id}" (HTTP-PUT) If an existing Seat entity has to be deleted, the following relative URL should be called: "/ZeppelinService/seat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightSeat columns: - column: SeatStatus - column: Seat - column: Flight - column: Price - column: Currency The table should have the title "FlightSeats" und the data must be loaded from the server with the following relative URL: "/FlightService/flightseat/seat/{id}" 2. The ZeppelinView must contain the following fields: - name: Code type: STRING - name: ConstructionNumber type: STRING - name: FirstFlightDate type: DATE - name: HomeBaseLocation type: Location - name: LastFlightDate type: DATE - name: Name type: STRING - name: Notes type: STRING - name: Operator type: Organization - name: Status type: STRING - name: ZeppelinClass type: ZeppelinClass The data source for the [HomeBaseLocation] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) The data source for the [Operator] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [ZeppelinClass] select control should be loaded from the relative URL: "/OrganizationService/zeppelinclass" (HTTP-GET) An existing Zeppelin entity should be loaded from the relative URL: "/ZeppelinService/zeppelin/{id}" (HTTP-GET) If a new Zeppelin entity has been created, the new entity should be posted to the relative URL: "/ZeppelinService/zeppelin" (HTTP-POST) If an existing Zeppelin entity has been updated, the modified entity should be sent to the relative URL: "/ZeppelinService/zeppelin/{id}" (HTTP-PUT) If an existing Zeppelin entity has to be deleted, the following relative URL should be called: "/ZeppelinService/zeppelin/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Accident columns: - column: Zeppelin - column: Description - column: Fatalities - column: DateTime - column: DamageLevel - column: Location - column: Injuries - column: Mission - column: AccidentType The table should have the title "Accidents" und the data must be loaded from the server with the following relative URL: "/LocationService/accident/zeppelin/{id}" Add a HTML table to the view with the following Flight columns: - column: FlightRoute - column: FlightNumber - column: ScheduledDeparture - column: ScheduledArrival - column: Zeppelin - column: Status The table should have the title "Flights" und the data must be loaded from the server with the following relative URL: "/FlightService/flight/zeppelin/{id}" Add a HTML table to the view with the following Mission columns: - column: War - column: Description - column: EndDateTime - column: StartDateTime - column: MissionType - column: DestinationLocation - column: OriginLocation - column: Zeppelin - column: Outcome - column: MilitaryBranch The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/zeppelin/{id}" 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/zeppelin/{id}" Add a HTML table to the view with the following Seat columns: - column: Zeppelin - column: SeatNumber - column: SeatClass The table should have the title "Seats" und the data must be loaded from the server with the following relative URL: "/ZeppelinService/seat/zeppelin/{id}" Add a HTML table to the view with the following Event columns: - column: DateTime - column: Name - column: RelatedZeppelin - column: RelatedOrganization - column: Location - column: EventType - column: Description The table should have the title "Events" und the data must be loaded from the server with the following relative URL: "/OrganizationService/event/relatedzeppelin/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint