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. LaunchView 2. LaunchVehicleView 3. OrbitTypeView 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 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}" 2. The LaunchVehicleView must contain the following fields: - name: Country type: Country - name: IsCrewedCapable type: BOOL - name: Name type: STRING - name: Notes type: STRING - name: Operator type: Operator - name: Type type: STRING The data source for the [Operator] select control should be loaded from the relative URL: "/OperatorService/operator" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (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 SpaceportLaunchVehicleUsage columns: - column: LaunchVehicle - column: IsPlanned - column: Spaceport - column: FromDate - column: Notes - column: ToDate The table should have the title "SpaceportLaunchVehicleUsages" und the data must be loaded from the server with the following relative URL: "/OperatorService/spaceportlaunchvehicleusage/launchvehicle/{id}" Add a HTML table to the view with the following Launch columns: - column: IsSuccessful - column: Notes - column: IsCrewed - column: MissionName - column: LaunchPad - column: LaunchDate - column: Spaceport - column: OrbitType - column: LaunchVehicle The table should have the title "Launchs" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/launch/launchvehicle/{id}" 3. The OrbitTypeView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing OrbitType entity should be loaded from the relative URL: "/LaunchVehicleService/orbittype/{id}" (HTTP-GET) If a new OrbitType entity has been created, the new entity should be posted to the relative URL: "/LaunchVehicleService/orbittype" (HTTP-POST) If an existing OrbitType entity has been updated, the modified entity should be sent to the relative URL: "/LaunchVehicleService/orbittype/{id}" (HTTP-PUT) If an existing OrbitType entity has to be deleted, the following relative URL should be called: "/LaunchVehicleService/orbittype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Launch columns: - column: IsSuccessful - column: Notes - column: IsCrewed - column: MissionName - column: LaunchPad - column: LaunchDate - column: Spaceport - column: OrbitType - column: LaunchVehicle The table should have the title "Launchs" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/launch/orbittype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint