Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
CountryApp
Please create a React-JS application for the CountryModule. The application has to offer the following views for the user interface: 1. AircraftManufacturerView 2. AirlineRegulatoryBodyView 3. CountryView 4. RegulatoryBodyView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AircraftManufacturerView must contain the following fields: - name: Country type: Country - name: FoundedYear type: LONG - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing AircraftManufacturer entity should be loaded from the relative URL: "/CountryService/aircraftmanufacturer/{id}" (HTTP-GET) If a new AircraftManufacturer entity has been created, the new entity should be posted to the relative URL: "/CountryService/aircraftmanufacturer" (HTTP-POST) If an existing AircraftManufacturer entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/aircraftmanufacturer/{id}" (HTTP-PUT) If an existing AircraftManufacturer entity has to be deleted, the following relative URL should be called: "/CountryService/aircraftmanufacturer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AircraftModel columns: - column: IataCode - column: Manufacturer - column: TypicalSeating - column: Name - column: IcaoCode - column: RangeKm The table should have the title "AircraftModels" und the data must be loaded from the server with the following relative URL: "/AircraftModelService/aircraftmodel/manufacturer/{id}" 2. The AirlineRegulatoryBodyView must contain the following fields: - name: Airline type: Airline - name: CertificateNumber type: STRING - name: ExpiryDate type: DATE - name: IssueDate type: DATE - name: RegulatoryBody type: RegulatoryBody - name: Status type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) The data source for the [RegulatoryBody] select control should be loaded from the relative URL: "/CountryService/regulatorybody" (HTTP-GET) An existing AirlineRegulatoryBody entity should be loaded from the relative URL: "/CountryService/airlineregulatorybody/{id}" (HTTP-GET) If a new AirlineRegulatoryBody entity has been created, the new entity should be posted to the relative URL: "/CountryService/airlineregulatorybody" (HTTP-POST) If an existing AirlineRegulatoryBody entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/airlineregulatorybody/{id}" (HTTP-PUT) If an existing AirlineRegulatoryBody entity has to be deleted, the following relative URL should be called: "/CountryService/airlineregulatorybody/{id}" (HTTP-DELETE) 3. The CountryView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING - name: Region 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 Ticket columns: - column: IssueDate - column: Currency - column: TotalAmount - column: PointOfSaleCountry - column: TicketNumber - column: Airline The table should have the title "Tickets" und the data must be loaded from the server with the following relative URL: "/BookingService/ticket/pointofsalecountry/{id}" Add a HTML table to the view with the following AircraftManufacturer columns: - column: Name - column: FoundedYear - column: Country The table should have the title "AircraftManufacturers" und the data must be loaded from the server with the following relative URL: "/CountryService/aircraftmanufacturer/country/{id}" Add a HTML table to the view with the following Airport columns: - column: Country - column: AirportType - column: IataCode - column: Latitude - column: City - column: TimeZone - column: Name - column: IcaoCode - column: Longitude - column: Elevation The table should have the title "Airports" und the data must be loaded from the server with the following relative URL: "/AirportService/airport/country/{id}" Add a HTML table to the view with the following RegulatoryBody columns: - column: Name - column: Country - column: Website - column: Type The table should have the title "RegulatoryBodys" und the data must be loaded from the server with the following relative URL: "/CountryService/regulatorybody/country/{id}" Add a HTML table to the view with the following Airline columns: - column: FoundedYear - column: Status - column: IcaoCode - column: OwnershipType - column: Name - column: Callsign - column: HeadquartersCity - column: IataCode - column: Country - column: AirlineType The table should have the title "Airlines" und the data must be loaded from the server with the following relative URL: "/AirlineService/airline/country/{id}" Add a HTML table to the view with the following Passenger columns: - column: NationalityCountry - column: DateOfBirth - column: FrequentFlyerNumber - column: Gender - column: LastName - column: FrequentFlyerAirline - column: FirstName The table should have the title "Passengers" und the data must be loaded from the server with the following relative URL: "/AirlineService/passenger/nationalitycountry/{id}" 4. The RegulatoryBodyView must contain the following fields: - name: Country type: Country - name: Name type: STRING - name: Type type: STRING - name: Website type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing RegulatoryBody entity should be loaded from the relative URL: "/CountryService/regulatorybody/{id}" (HTTP-GET) If a new RegulatoryBody entity has been created, the new entity should be posted to the relative URL: "/CountryService/regulatorybody" (HTTP-POST) If an existing RegulatoryBody entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/regulatorybody/{id}" (HTTP-PUT) If an existing RegulatoryBody entity has to be deleted, the following relative URL should be called: "/CountryService/regulatorybody/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirlineRegulatoryBody columns: - column: RegulatoryBody - column: Status - column: ExpiryDate - column: CertificateNumber - column: Airline - column: IssueDate The table should have the title "AirlineRegulatoryBodys" und the data must be loaded from the server with the following relative URL: "/CountryService/airlineregulatorybody/regulatorybody/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint