Overview
Summary
Contact
Donate
Imprint
Prompt for the
CountryView
Please create a React-JS view called "CountryView" for the fields of the Country entity. The CountryView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING - name: Notes type: STRING An existing Country entity should be loaded from the relative URL: "/CountryService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/CountryService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/CountryService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpaceAgency columns: - column: Notes - column: Name - column: Country - column: FoundedYear - column: Type The table should have the title "SpaceAgencys" und the data must be loaded from the server with the following relative URL: "/SpaceAgencyService/spaceagency/country/{id}" Add a HTML table to the view with the following Region columns: - column: Name - column: Country - column: Type The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/SpaceportService/region/country/{id}" Add a HTML table to the view with the following Spaceport columns: - column: Status - column: Latitude - column: Name - column: Country - column: Region - column: IsSuborbitalOnly - column: IsAirportBased - column: IsSeaPlatform - column: Notes - column: Longitude - column: FirstOrbitalLaunchDate - column: FirstSuborbitalLaunchDate The table should have the title "Spaceports" und the data must be loaded from the server with the following relative URL: "/SpaceportService/spaceport/country/{id}" Add a HTML table to the view with the following CrewedProgram columns: - column: Country - column: SpaceAgency - column: StartYear - column: EndYear - column: Notes - column: Name The table should have the title "CrewedPrograms" und the data must be loaded from the server with the following relative URL: "/CountryService/crewedprogram/country/{id}" Add a HTML table to the view with the following Operator columns: - column: Name - column: Country - column: Description - column: Type The table should have the title "Operators" und the data must be loaded from the server with the following relative URL: "/OperatorService/operator/country/{id}" Add a HTML table to the view with the following LaunchVehicle columns: - column: IsCrewedCapable - column: Type - column: Notes - column: Country - column: Operator - column: Name The table should have the title "LaunchVehicles" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/launchvehicle/country/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint