Overview
Summary
Contact
Donate
Imprint
Prompt for the
LaunchSiteApp
Please create a React-JS application for the LaunchSiteModule. The application has to offer the following views for the user interface: 1. ExperimentView 2. ExperimentResultView 3. LaunchSiteView 4. MediaCoverageView 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 ExperimentView must contain the following fields: - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: Project type: Project - name: StartDate type: DATE The data source for the [Project] select control should be loaded from the relative URL: "/ProjectService/project" (HTTP-GET) An existing Experiment entity should be loaded from the relative URL: "/LaunchSiteService/experiment/{id}" (HTTP-GET) If a new Experiment entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/experiment" (HTTP-POST) If an existing Experiment entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/experiment/{id}" (HTTP-PUT) If an existing Experiment entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/experiment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ExperimentResult columns: - column: Notes - column: Experiment - column: MetricValue - column: Unit - column: MetricName The table should have the title "ExperimentResults" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/experimentresult/experiment/{id}" 2. The ExperimentResultView must contain the following fields: - name: Experiment type: Experiment - name: MetricName type: STRING - name: MetricValue type: STRING - name: Notes type: STRING - name: Unit type: STRING The data source for the [Experiment] select control should be loaded from the relative URL: "/LaunchSiteService/experiment" (HTTP-GET) An existing ExperimentResult entity should be loaded from the relative URL: "/LaunchSiteService/experimentresult/{id}" (HTTP-GET) If a new ExperimentResult entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/experimentresult" (HTTP-POST) If an existing ExperimentResult entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/experimentresult/{id}" (HTTP-PUT) If an existing ExperimentResult entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/experimentresult/{id}" (HTTP-DELETE) 3. The LaunchSiteView must contain the following fields: - name: City type: City - name: ElevationMeters type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: Name type: STRING The data source for the [City] select control should be loaded from the relative URL: "/RegionService/city" (HTTP-GET) An existing LaunchSite entity should be loaded from the relative URL: "/LaunchSiteService/launchsite/{id}" (HTTP-GET) If a new LaunchSite entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/launchsite" (HTTP-POST) If an existing LaunchSite entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/launchsite/{id}" (HTTP-PUT) If an existing LaunchSite entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/launchsite/{id}" (HTTP-DELETE) 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/launchsite/{id}" 4. The MediaCoverageView must contain the following fields: - name: Project type: Project - name: PublicationDate type: DATE - name: Publisher type: STRING - name: Summary type: STRING - name: Title type: STRING - name: Url type: STRING The data source for the [Project] select control should be loaded from the relative URL: "/ProjectService/project" (HTTP-GET) An existing MediaCoverage entity should be loaded from the relative URL: "/LaunchSiteService/mediacoverage/{id}" (HTTP-GET) If a new MediaCoverage entity has been created, the new entity should be posted to the relative URL: "/LaunchSiteService/mediacoverage" (HTTP-POST) If an existing MediaCoverage entity has been updated, the modified entity should be sent to the relative URL: "/LaunchSiteService/mediacoverage/{id}" (HTTP-PUT) If an existing MediaCoverage entity has to be deleted, the following relative URL should be called: "/LaunchSiteService/mediacoverage/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint