Overview
Summary
Contact
Donate
Imprint
Prompt for the
RegulatoryRegionApp
Please create a React-JS application for the RegulatoryRegionModule. The application has to offer the following views for the user interface: 1. BusinessProfileView 2. FeatureFlagView 3. RegulatoryRegionView 4. UserRegionView 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 BusinessProfileView must contain the following fields: - name: BusinessName type: STRING - name: Category type: STRING - name: CreatedAt type: DATE - name: IsVerified type: BOOL - name: SupportEmail type: STRING - name: SupportPhone type: STRING - name: UserAccount type: UserAccount - name: UsesCloudApi type: BOOL - name: WebsiteUrl type: STRING The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing BusinessProfile entity should be loaded from the relative URL: "/RegulatoryRegionService/businessprofile/{id}" (HTTP-GET) If a new BusinessProfile entity has been created, the new entity should be posted to the relative URL: "/RegulatoryRegionService/businessprofile" (HTTP-POST) If an existing BusinessProfile entity has been updated, the modified entity should be sent to the relative URL: "/RegulatoryRegionService/businessprofile/{id}" (HTTP-PUT) If an existing BusinessProfile entity has to be deleted, the following relative URL should be called: "/RegulatoryRegionService/businessprofile/{id}" (HTTP-DELETE) 2. The FeatureFlagView must contain the following fields: - name: CreatedAt type: DATE - name: DefaultEnabled type: BOOL - name: Description type: STRING - name: Name type: STRING An existing FeatureFlag entity should be loaded from the relative URL: "/RegulatoryRegionService/featureflag/{id}" (HTTP-GET) If a new FeatureFlag entity has been created, the new entity should be posted to the relative URL: "/RegulatoryRegionService/featureflag" (HTTP-POST) If an existing FeatureFlag entity has been updated, the modified entity should be sent to the relative URL: "/RegulatoryRegionService/featureflag/{id}" (HTTP-PUT) If an existing FeatureFlag entity has to be deleted, the following relative URL should be called: "/RegulatoryRegionService/featureflag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserFeatureFlag columns: - column: UserAccount - column: FeatureFlag - column: EnabledAt - column: IsEnabled The table should have the title "UserFeatureFlags" und the data must be loaded from the server with the following relative URL: "/UserAccountService/userfeatureflag/featureflag/{id}" 3. The RegulatoryRegionView must contain the following fields: - name: DataRetentionPolicy type: STRING - name: Description type: STRING - name: GdprApplies type: BOOL - name: Name type: STRING An existing RegulatoryRegion entity should be loaded from the relative URL: "/RegulatoryRegionService/regulatoryregion/{id}" (HTTP-GET) If a new RegulatoryRegion entity has been created, the new entity should be posted to the relative URL: "/RegulatoryRegionService/regulatoryregion" (HTTP-POST) If an existing RegulatoryRegion entity has been updated, the modified entity should be sent to the relative URL: "/RegulatoryRegionService/regulatoryregion/{id}" (HTTP-PUT) If an existing RegulatoryRegion entity has to be deleted, the following relative URL should be called: "/RegulatoryRegionService/regulatoryregion/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserRegion columns: - column: EffectiveFrom - column: EffectiveTo - column: RegulatoryRegion - column: UserAccount The table should have the title "UserRegions" und the data must be loaded from the server with the following relative URL: "/RegulatoryRegionService/userregion/regulatoryregion/{id}" 4. The UserRegionView must contain the following fields: - name: EffectiveFrom type: DATE - name: EffectiveTo type: DATE - name: RegulatoryRegion type: RegulatoryRegion - name: UserAccount type: UserAccount The data source for the [RegulatoryRegion] select control should be loaded from the relative URL: "/RegulatoryRegionService/regulatoryregion" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserRegion entity should be loaded from the relative URL: "/RegulatoryRegionService/userregion/{id}" (HTTP-GET) If a new UserRegion entity has been created, the new entity should be posted to the relative URL: "/RegulatoryRegionService/userregion" (HTTP-POST) If an existing UserRegion entity has been updated, the modified entity should be sent to the relative URL: "/RegulatoryRegionService/userregion/{id}" (HTTP-PUT) If an existing UserRegion entity has to be deleted, the following relative URL should be called: "/RegulatoryRegionService/userregion/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint