Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchVehicleApp
Please create a React-JS application for the LaunchVehicleModule. The application has to offer the following views for the user interface: 1. LaunchVehicleView 2. RocketStageView 3. TestFlightView 4. TestSiteView 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 LaunchVehicleView must contain the following fields: - name: Company type: Company - name: Family type: STRING - name: FirstFlightDate type: DATE - name: MaxPayloadGtoT type: STRING - name: MaxPayloadLeoT type: STRING - name: Name type: STRING - name: Notes type: STRING - name: Reusable type: BOOL - name: Status type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing LaunchVehicle entity should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-GET) If a new LaunchVehicle entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-POST) If an existing LaunchVehicle entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-PUT) If an existing LaunchVehicle entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/launchvehicle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RocketStage columns: - column: StageNumber - column: PropellantFuel - column: Name - column: Reusable - column: Notes - column: LaunchVehicle - column: PropellantOxidizer The table should have the title "RocketStages" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/rocketstage/launchvehicle/{id}" Add a HTML table to the view with the following Incident columns: - column: IncidentDateTime - column: LaunchVehicle - column: Description - column: Facility - column: RocketStage - column: Notes - column: RootCause - column: Spacecraft - column: Severity - column: Mission The table should have the title "Incidents" und the data must be loaded from the server with the following relative URL: "/FacilityService/incident/launchvehicle/{id}" Add a HTML table to the view with the following Mission columns: - column: Notes - column: Spacecraft - column: Contract - column: Customer - column: Company - column: Name - column: LaunchVehicle - column: LandingSite - column: Program - column: MissionType - column: Orbit - column: LaunchDateTime - column: Description - column: LaunchSite - column: Success The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/launchvehicle/{id}" Add a HTML table to the view with the following TestFlight columns: - column: TestType - column: Spacecraft - column: Mission - column: Description - column: RocketStage - column: TestSite - column: Notes - column: LaunchVehicle The table should have the title "TestFlights" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/testflight/launchvehicle/{id}" 2. The RocketStageView must contain the following fields: - name: LaunchVehicle type: LaunchVehicle - name: Name type: STRING - name: Notes type: STRING - name: PropellantFuel type: STRING - name: PropellantOxidizer type: STRING - name: Reusable type: BOOL - name: StageNumber type: INT The data source for the [LaunchVehicle] select control should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-GET) An existing RocketStage entity should be loaded from the relative URL: "/LaunchVehicleService/rocketstage/{id}" (HTTP-GET) If a new RocketStage entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/rocketstage" (HTTP-POST) If an existing RocketStage entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/rocketstage/{id}" (HTTP-PUT) If an existing RocketStage entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/rocketstage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StageEngine columns: - column: RocketEngine - column: EngineCount - column: RocketStage - column: Role The table should have the title "StageEngines" und the data must be loaded from the server with the following relative URL: "/ShipRoleService/stageengine/rocketstage/{id}" Add a HTML table to the view with the following Incident columns: - column: IncidentDateTime - column: LaunchVehicle - column: Description - column: Facility - column: RocketStage - column: Notes - column: RootCause - column: Spacecraft - column: Severity - column: Mission The table should have the title "Incidents" und the data must be loaded from the server with the following relative URL: "/FacilityService/incident/rocketstage/{id}" Add a HTML table to the view with the following TestFlight columns: - column: TestType - column: Spacecraft - column: Mission - column: Description - column: RocketStage - column: TestSite - column: Notes - column: LaunchVehicle The table should have the title "TestFlights" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/testflight/rocketstage/{id}" 3. The TestFlightView must contain the following fields: - name: Description type: STRING - name: LaunchVehicle type: LaunchVehicle - name: Mission type: Mission - name: Notes type: STRING - name: RocketStage type: RocketStage - name: Spacecraft type: Spacecraft - name: TestSite type: TestSite - name: TestType type: STRING The data source for the [TestSite] select control should be loaded from the relative URL: "/LaunchVehicleService/testsite" (HTTP-GET) The data source for the [RocketStage] select control should be loaded from the relative URL: "/LaunchVehicleService/rocketstage" (HTTP-GET) The data source for the [Spacecraft] select control should be loaded from the relative URL: "/MissionService/spacecraft" (HTTP-GET) The data source for the [Mission] select control should be loaded from the relative URL: "/MissionService/mission" (HTTP-GET) The data source for the [LaunchVehicle] select control should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-GET) An existing TestFlight entity should be loaded from the relative URL: "/LaunchVehicleService/testflight/{id}" (HTTP-GET) If a new TestFlight entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/testflight" (HTTP-POST) If an existing TestFlight entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/testflight/{id}" (HTTP-PUT) If an existing TestFlight entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/testflight/{id}" (HTTP-DELETE) 4. The TestSiteView must contain the following fields: - name: Description type: STRING - name: Facility type: Facility The data source for the [Facility] select control should be loaded from the relative URL: "/FacilityService/facility" (HTTP-GET) An existing TestSite entity should be loaded from the relative URL: "/LaunchVehicleService/testsite/{id}" (HTTP-GET) If a new TestSite entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/testsite" (HTTP-POST) If an existing TestSite entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/testsite/{id}" (HTTP-PUT) If an existing TestSite entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/testsite/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TestFlight columns: - column: TestType - column: Spacecraft - column: Mission - column: Description - column: RocketStage - column: TestSite - column: Notes - column: LaunchVehicle The table should have the title "TestFlights" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/testflight/testsite/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint