Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchPadView
Please create a React-JS view called "LaunchPadView" for the fields of the LaunchPad entity. The LaunchPadView must contain the following fields: - name: Code type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING - name: Notes type: STRING - name: Spaceport type: Spaceport - name: Status type: STRING The data source for the [Spaceport] select control should be loaded from the relative URL: "/SpaceportService/spaceport" (HTTP-GET) An existing LaunchPad entity should be loaded from the relative URL: "/SpaceAgencyService/launchpad/{id}" (HTTP-GET) If a new LaunchPad entity has been created, the new entity should be posted to the relative URL: "/SpaceAgencyService/launchpad" (HTTP-POST) If an existing LaunchPad entity has been updated, the modified entity should be sent to the relative URL: "/SpaceAgencyService/launchpad/{id}" (HTTP-PUT) If an existing LaunchPad entity has to be deleted, the following relative URL should be called: "/SpaceAgencyService/launchpad/{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/launchpad/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint