Overview
Summary
Contact
Donate
Imprint
Prompt for the
MissionApp
Please create a React-JS application for the MissionModule. The application has to offer the following views for the user interface: 1. CrewedFlightView 2. LandingSiteView 3. MissionView 4. MissionTypeView 5. OrbitView 6. SpacecraftView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The CrewedFlightView must contain the following fields: - name: Destination type: STRING - name: DurationDays type: STRING - name: Mission type: Mission - name: Notes type: STRING The data source for the [Mission] select control should be loaded from the relative URL: "/MissionService/mission" (HTTP-GET) An existing CrewedFlight entity should be loaded from the relative URL: "/MissionService/crewedflight/{id}" (HTTP-GET) If a new CrewedFlight entity has been created, the new entity should be posted to the relative URL: "/MissionService/crewedflight" (HTTP-POST) If an existing CrewedFlight entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/crewedflight/{id}" (HTTP-PUT) If an existing CrewedFlight entity has to be deleted, the following relative URL should be called: "/MissionService/crewedflight/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewAssignment columns: - column: Person - column: CrewedFlight - column: Role - column: Notes The table should have the title "CrewAssignments" und the data must be loaded from the server with the following relative URL: "/PersonService/crewassignment/crewedflight/{id}" 2. The LandingSiteView must contain the following fields: - name: Description type: STRING - name: Facility type: Facility - name: LandingType type: STRING - name: Name type: STRING The data source for the [Facility] select control should be loaded from the relative URL: "/FacilityService/facility" (HTTP-GET) An existing LandingSite entity should be loaded from the relative URL: "/MissionService/landingsite/{id}" (HTTP-GET) If a new LandingSite entity has been created, the new entity should be posted to the relative URL: "/MissionService/landingsite" (HTTP-POST) If an existing LandingSite entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/landingsite/{id}" (HTTP-PUT) If an existing LandingSite entity has to be deleted, the following relative URL should be called: "/MissionService/landingsite/{id}" (HTTP-DELETE) 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/landingsite/{id}" 3. The MissionView must contain the following fields: - name: Company type: Company - name: Contract type: Contract - name: Customer type: Customer - name: Description type: STRING - name: LandingSite type: LandingSite - name: LaunchDateTime type: DATE - name: LaunchSite type: LaunchSite - name: LaunchVehicle type: LaunchVehicle - name: MissionType type: MissionType - name: Name type: STRING - name: Notes type: STRING - name: Orbit type: Orbit - name: Program type: Program - name: Spacecraft type: Spacecraft - name: Success type: BOOL The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [LandingSite] select control should be loaded from the relative URL: "/MissionService/landingsite" (HTTP-GET) The data source for the [Program] select control should be loaded from the relative URL: "/CompanyService/program" (HTTP-GET) The data source for the [Orbit] select control should be loaded from the relative URL: "/MissionService/orbit" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (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 [LaunchSite] select control should be loaded from the relative URL: "/FacilityService/launchsite" (HTTP-GET) The data source for the [MissionType] select control should be loaded from the relative URL: "/MissionService/missiontype" (HTTP-GET) The data source for the [Contract] select control should be loaded from the relative URL: "/CompanyService/contract" (HTTP-GET) The data source for the [LaunchVehicle] select control should be loaded from the relative URL: "/LaunchVehicleService/launchvehicle" (HTTP-GET) An existing Mission entity should be loaded from the relative URL: "/MissionService/mission/{id}" (HTTP-GET) If a new Mission entity has been created, the new entity should be posted to the relative URL: "/MissionService/mission" (HTTP-POST) If an existing Mission entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/mission/{id}" (HTTP-PUT) If an existing Mission entity has to be deleted, the following relative URL should be called: "/MissionService/mission/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewedFlight columns: - column: Destination - column: DurationDays - column: Notes - column: Mission The table should have the title "CrewedFlights" und the data must be loaded from the server with the following relative URL: "/MissionService/crewedflight/mission/{id}" Add a HTML table to the view with the following MissionPayload columns: - column: Notes - column: Payload - column: PrimaryPayload - column: Deployed - column: DeploymentTime - column: Mission The table should have the title "MissionPayloads" und the data must be loaded from the server with the following relative URL: "/CustomerService/missionpayload/mission/{id}" Add a HTML table to the view with the following ShipAssignment columns: - column: ShipRole - column: Notes - column: Mission - column: Ship The table should have the title "ShipAssignments" und the data must be loaded from the server with the following relative URL: "/CompanyService/shipassignment/mission/{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/mission/{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/mission/{id}" 4. The MissionTypeView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing MissionType entity should be loaded from the relative URL: "/MissionService/missiontype/{id}" (HTTP-GET) If a new MissionType entity has been created, the new entity should be posted to the relative URL: "/MissionService/missiontype" (HTTP-POST) If an existing MissionType entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/missiontype/{id}" (HTTP-PUT) If an existing MissionType entity has to be deleted, the following relative URL should be called: "/MissionService/missiontype/{id}" (HTTP-DELETE) 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/missiontype/{id}" 5. The OrbitView must contain the following fields: - name: AltitudeKm type: STRING - name: Description type: STRING - name: InclinationDeg type: STRING - name: Name type: STRING An existing Orbit entity should be loaded from the relative URL: "/MissionService/orbit/{id}" (HTTP-GET) If a new Orbit entity has been created, the new entity should be posted to the relative URL: "/MissionService/orbit" (HTTP-POST) If an existing Orbit entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/orbit/{id}" (HTTP-PUT) If an existing Orbit entity has to be deleted, the following relative URL should be called: "/MissionService/orbit/{id}" (HTTP-DELETE) 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/orbit/{id}" 6. The SpacecraftView must contain the following fields: - name: Company type: Company - name: FirstFlightDate type: DATE - name: Name type: STRING - name: Notes type: STRING - name: Reusable type: BOOL - name: SpacecraftType type: STRING - 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 Spacecraft entity should be loaded from the relative URL: "/MissionService/spacecraft/{id}" (HTTP-GET) If a new Spacecraft entity has been created, the new entity should be posted to the relative URL: "/MissionService/spacecraft" (HTTP-POST) If an existing Spacecraft entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/spacecraft/{id}" (HTTP-PUT) If an existing Spacecraft entity has to be deleted, the following relative URL should be called: "/MissionService/spacecraft/{id}" (HTTP-DELETE) 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/spacecraft/{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/spacecraft/{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/spacecraft/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint