Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProductApp
Please create a React-JS application for the ProductModule. The application has to offer the following views for the user interface: 1. AiCommerceIntegrationView 2. MediaProductionView 3. ProductView 4. ProductFeatureView 5. ProductRebrandView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The AiCommerceIntegrationView must contain the following fields: - name: AiPlatform type: AiPlatform - name: IntegrationType type: STRING - name: LaunchDate type: DATE - name: Notes type: STRING - name: Product type: Product The data source for the [AiPlatform] select control should be loaded from the relative URL: "/SalesChannelService/aiplatform" (HTTP-GET) The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing AiCommerceIntegration entity should be loaded from the relative URL: "/ProductService/aicommerceintegration/{id}" (HTTP-GET) If a new AiCommerceIntegration entity has been created, the new entity should be posted to the relative URL: "/ProductService/aicommerceintegration" (HTTP-POST) If an existing AiCommerceIntegration entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/aicommerceintegration/{id}" (HTTP-PUT) If an existing AiCommerceIntegration entity has to be deleted, the following relative URL should be called: "/ProductService/aicommerceintegration/{id}" (HTTP-DELETE) 2. The MediaProductionView must contain the following fields: - name: MediaType type: STRING - name: Product type: Product - name: ReleaseDate type: DATE - name: Title type: STRING The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing MediaProduction entity should be loaded from the relative URL: "/ProductService/mediaproduction/{id}" (HTTP-GET) If a new MediaProduction entity has been created, the new entity should be posted to the relative URL: "/ProductService/mediaproduction" (HTTP-POST) If an existing MediaProduction entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/mediaproduction/{id}" (HTTP-PUT) If an existing MediaProduction entity has to be deleted, the following relative URL should be called: "/ProductService/mediaproduction/{id}" (HTTP-DELETE) 3. The ProductView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndOfLifeDate type: DATE - name: InitialLaunchDate type: DATE - name: IsCorePlatform type: BOOL - name: Name type: STRING - name: ProductType type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Product entity should be loaded from the relative URL: "/ProductService/product/{id}" (HTTP-GET) If a new Product entity has been created, the new entity should be posted to the relative URL: "/ProductService/product" (HTTP-POST) If an existing Product entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/product/{id}" (HTTP-PUT) If an existing Product entity has to be deleted, the following relative URL should be called: "/ProductService/product/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProductFeature columns: - column: Product - column: DeprecationDate - column: Description - column: LaunchDate - column: Name The table should have the title "ProductFeatures" und the data must be loaded from the server with the following relative URL: "/ProductService/productfeature/product/{id}" Add a HTML table to the view with the following AiCommerceIntegration columns: - column: Notes - column: IntegrationType - column: LaunchDate - column: AiPlatform - column: Product The table should have the title "AiCommerceIntegrations" und the data must be loaded from the server with the following relative URL: "/ProductService/aicommerceintegration/product/{id}" Add a HTML table to the view with the following MediaProduction columns: - column: Title - column: ReleaseDate - column: Product - column: MediaType The table should have the title "MediaProductions" und the data must be loaded from the server with the following relative URL: "/ProductService/mediaproduction/product/{id}" Add a HTML table to the view with the following ProductSalesChannelIntegration columns: - column: Notes - column: SalesChannel - column: EndDate - column: IntegrationType - column: Product - column: LaunchDate The table should have the title "ProductSalesChannelIntegrations" und the data must be loaded from the server with the following relative URL: "/SalesChannelService/productsaleschannelintegration/product/{id}" Add a HTML table to the view with the following ProductRebrand columns: - column: Product - column: Notes - column: OldName - column: RebrandDate - column: NewName The table should have the title "ProductRebrands" und the data must be loaded from the server with the following relative URL: "/ProductService/productrebrand/product/{id}" 4. The ProductFeatureView must contain the following fields: - name: DeprecationDate type: DATE - name: Description type: STRING - name: LaunchDate type: DATE - name: Name type: STRING - name: Product type: Product The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing ProductFeature entity should be loaded from the relative URL: "/ProductService/productfeature/{id}" (HTTP-GET) If a new ProductFeature entity has been created, the new entity should be posted to the relative URL: "/ProductService/productfeature" (HTTP-POST) If an existing ProductFeature entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/productfeature/{id}" (HTTP-PUT) If an existing ProductFeature entity has to be deleted, the following relative URL should be called: "/ProductService/productfeature/{id}" (HTTP-DELETE) 5. The ProductRebrandView must contain the following fields: - name: NewName type: STRING - name: Notes type: STRING - name: OldName type: STRING - name: Product type: Product - name: RebrandDate type: DATE The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing ProductRebrand entity should be loaded from the relative URL: "/ProductService/productrebrand/{id}" (HTTP-GET) If a new ProductRebrand entity has been created, the new entity should be posted to the relative URL: "/ProductService/productrebrand" (HTTP-POST) If an existing ProductRebrand entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/productrebrand/{id}" (HTTP-PUT) If an existing ProductRebrand entity has to be deleted, the following relative URL should be called: "/ProductService/productrebrand/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint