Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchView
Please create a React-JS view called "LaunchView" for the fields of the Launch entity. The LaunchView must contain the following fields: - name: IsCrewed type: BOOL - name: IsSuccessful type: BOOL - name: LaunchDate type: DATE - name: LaunchPad type: LaunchPad - name: LaunchVehicle type: LaunchVehicle - name: MissionName type: STRING - name: Notes type: STRING - name: OrbitType type: OrbitType - name: Spaceport type: Spaceport The data source for the [LaunchPad] select control should be loaded from the relative URL: "/SpaceAgencyService/launchpad" (HTTP-GET) The data source for the [Spaceport] select control should be loaded from the relative URL: "/SpaceportService/spaceport" (HTTP-GET) The data source for the [OrbitType] select control should be loaded from the relative URL: "/LaunchVehicleService/orbittype" (HTTP-GET) The data source for the [LaunchVehicle] select control should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-GET) An existing Launch entity should be loaded from the relative URL: "/LaunchVehicleService/launch/{id}" (HTTP-GET) If a new Launch entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/launch" (HTTP-POST) If an existing Launch entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/launch/{id}" (HTTP-PUT) If an existing Launch entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/launch/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewedMission columns: - column: CrewedProgram - column: Destination - column: Notes - column: Launch - column: SpacecraftName The table should have the title "CrewedMissions" und the data must be loaded from the server with the following relative URL: "/OperatorService/crewedmission/launch/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint