Overview
Summary
Contact
Donate
Imprint
Prompt for the
RegionApp
Please create a React-JS application for the RegionModule. The application has to offer the following views for the user interface: 1. CityView 2. RegionView 3. ServiceAreaView 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 CityView must contain the following fields: - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing City entity should be loaded from the relative URL: "/RegionService/city/{id}" (HTTP-GET) If a new City entity has been created, the new entity should be posted to the relative URL: "/RegionService/city" (HTTP-POST) If an existing City entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/city/{id}" (HTTP-PUT) If an existing City entity has to be deleted, the following relative URL should be called: "/RegionService/city/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LaunchSite columns: - column: ElevationMeters - column: Longitude - column: Name - column: City - column: Latitude The table should have the title "LaunchSites" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/launchsite/city/{id}" Add a HTML table to the view with the following GroundStation columns: - column: NetworkTechnology - column: City - column: Name - column: SpectrumBand - column: Latitude - column: Longitude The table should have the title "GroundStations" und the data must be loaded from the server with the following relative URL: "/NetworkTechnologyService/groundstation/city/{id}" 2. The RegionView must contain the following fields: - name: Country type: Country - 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 Region entity should be loaded from the relative URL: "/RegionService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/RegionService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/RegionService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following City columns: - column: Name - column: Region The table should have the title "Citys" und the data must be loaded from the server with the following relative URL: "/RegionService/city/region/{id}" Add a HTML table to the view with the following ServiceArea columns: - column: AreaType - column: Description - column: Region - column: Name - column: Country The table should have the title "ServiceAreas" und the data must be loaded from the server with the following relative URL: "/RegionService/servicearea/region/{id}" Add a HTML table to the view with the following DisasterEvent columns: - column: Name - column: Country - column: EventType - column: EndDate - column: Description - column: Region - column: StartDate The table should have the title "DisasterEvents" und the data must be loaded from the server with the following relative URL: "/WindLayerService/disasterevent/region/{id}" 3. The ServiceAreaView must contain the following fields: - name: AreaType type: STRING - name: Country type: Country - name: Description type: STRING - name: Name type: STRING - name: Region type: Region The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing ServiceArea entity should be loaded from the relative URL: "/RegionService/servicearea/{id}" (HTTP-GET) If a new ServiceArea entity has been created, the new entity should be posted to the relative URL: "/RegionService/servicearea" (HTTP-POST) If an existing ServiceArea entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/servicearea/{id}" (HTTP-PUT) If an existing ServiceArea entity has to be deleted, the following relative URL should be called: "/RegionService/servicearea/{id}" (HTTP-DELETE) 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/servicearea/{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/servicearea/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint