Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProjectApp
Please create a React-JS application for the ProjectModule. The application has to offer the following views for the user interface: 1. BalloonFlightView 2. BalloonFlightWindLayerView 3. ProjectView 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 BalloonFlightView must contain the following fields: - name: AverageSpeedKmh type: STRING - name: BalloonModel type: BalloonModel - name: LaunchDateTime type: DATE - name: LaunchSite type: LaunchSite - name: MaxAltitudeKm type: STRING - name: MinAltitudeKm type: STRING - name: Project type: Project - name: Status type: STRING - name: TerminationDateTime type: DATE The data source for the [BalloonModel] select control should be loaded from the relative URL: "/WindLayerService/balloonmodel" (HTTP-GET) The data source for the [Project] select control should be loaded from the relative URL: "/ProjectService/project" (HTTP-GET) The data source for the [LaunchSite] select control should be loaded from the relative URL: "/LaunchSiteService/launchsite" (HTTP-GET) An existing BalloonFlight entity should be loaded from the relative URL: "/ProjectService/balloonflight/{id}" (HTTP-GET) If a new BalloonFlight entity has been created, the new entity should be posted to the relative URL: "/ProjectService/balloonflight" (HTTP-POST) If an existing BalloonFlight entity has been updated, the modified entity should be sent to the relative URL: "/ProjectService/balloonflight/{id}" (HTTP-PUT) If an existing BalloonFlight entity has to be deleted, the following relative URL should be called: "/ProjectService/balloonflight/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BalloonFlightWindLayer columns: - column: WindLayer - column: AssociationType - column: RelevanceScore - column: BalloonFlight The table should have the title "BalloonFlightWindLayers" und the data must be loaded from the server with the following relative URL: "/ProjectService/balloonflightwindlayer/balloonflight/{id}" Add a HTML table to the view with the following BalloonTelemetrySample columns: - column: AltitudeKm - column: TemperatureC - column: Latitude - column: SampleTime - column: SignalQualityDb - column: Longitude - column: BatteryLevelPercent - column: BalloonFlight The table should have the title "BalloonTelemetrySamples" und the data must be loaded from the server with the following relative URL: "/CompanyService/balloontelemetrysample/balloonflight/{id}" 2. The BalloonFlightWindLayerView must contain the following fields: - name: AssociationType type: STRING - name: BalloonFlight type: BalloonFlight - name: RelevanceScore type: STRING - name: WindLayer type: WindLayer The data source for the [WindLayer] select control should be loaded from the relative URL: "/WindLayerService/windlayer" (HTTP-GET) The data source for the [BalloonFlight] select control should be loaded from the relative URL: "/ProjectService/balloonflight" (HTTP-GET) An existing BalloonFlightWindLayer entity should be loaded from the relative URL: "/ProjectService/balloonflightwindlayer/{id}" (HTTP-GET) If a new BalloonFlightWindLayer entity has been created, the new entity should be posted to the relative URL: "/ProjectService/balloonflightwindlayer" (HTTP-POST) If an existing BalloonFlightWindLayer entity has been updated, the modified entity should be sent to the relative URL: "/ProjectService/balloonflightwindlayer/{id}" (HTTP-PUT) If an existing BalloonFlightWindLayer entity has to be deleted, the following relative URL should be called: "/ProjectService/balloonflightwindlayer/{id}" (HTTP-DELETE) 3. The ProjectView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Project entity should be loaded from the relative URL: "/ProjectService/project/{id}" (HTTP-GET) If a new Project entity has been created, the new entity should be posted to the relative URL: "/ProjectService/project" (HTTP-POST) If an existing Project entity has been updated, the modified entity should be sent to the relative URL: "/ProjectService/project/{id}" (HTTP-PUT) If an existing Project entity has to be deleted, the following relative URL should be called: "/ProjectService/project/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Experiment columns: - column: Project - column: Description - column: EndDate - column: StartDate - column: Name The table should have the title "Experiments" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/experiment/project/{id}" Add a HTML table to the view with the following RegulatoryApproval columns: - column: ApprovalDate - column: Notes - column: Project - column: ExpiryDate - column: RegulatoryAuthority - column: ServiceArea The table should have the title "RegulatoryApprovals" und the data must be loaded from the server with the following relative URL: "/CountryService/regulatoryapproval/project/{id}" Add a HTML table to the view with the following BalloonFlight columns: - column: BalloonModel - column: AverageSpeedKmh - column: Project - column: MinAltitudeKm - column: LaunchDateTime - column: MaxAltitudeKm - column: Status - column: TerminationDateTime - column: LaunchSite The table should have the title "BalloonFlights" und the data must be loaded from the server with the following relative URL: "/ProjectService/balloonflight/project/{id}" Add a HTML table to the view with the following MediaCoverage columns: - column: Project - column: Publisher - column: Title - column: Summary - column: PublicationDate - column: Url The table should have the title "MediaCoverages" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/mediacoverage/project/{id}" Add a HTML table to the view with the following ServiceDeployment columns: - column: StartDate - column: ServiceArea - column: Description - column: PeakUsers - column: IsEmergencyDeployment - column: AverageThroughputMbitPerSec - column: EndDate - column: Project The table should have the title "ServiceDeployments" und the data must be loaded from the server with the following relative URL: "/ServiceDeploymentService/servicedeployment/project/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint