Overview
Summary
Contact
Donate
Imprint
Prompt for the
CategoryView
Please create a React-JS view called "CategoryView" for the fields of the Category entity. The CategoryView must contain the following fields: - name: CreatedAt type: DATE - name: Name type: STRING - name: Parent type: LONG - name: Slug type: STRING - name: SortOrder type: LONG - name: UpdatedAt type: DATE An existing Category entity should be loaded from the relative URL: "/CategoryService/category/{id}" (HTTP-GET) If a new Category entity has been created, the new entity should be posted to the relative URL: "/CategoryService/category" (HTTP-POST) If an existing Category entity has been updated, the modified entity should be sent to the relative URL: "/CategoryService/category/{id}" (HTTP-PUT) If an existing Category entity has to be deleted, the following relative URL should be called: "/CategoryService/category/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProductCategory columns: - column: Category - column: IsPrimary - column: Product The table should have the title "ProductCategorys" und the data must be loaded from the server with the following relative URL: "/CategoryService/productcategory/category/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint