You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the blog service does not utilize the blog category module, which prevents blogs from being categorized. This affects the organization and discoverability of blog posts, making it harder for users to filter and navigate blogs based on their categories.
Acceptance Criteria
Add a category_id field to Blog entity
Modify BlogService to save category_id
Update the DTOs to accept category_id field
Ensure API response include category ID
Purpose
Enhance the user experience by enabling blog categorization.
Improve content organization to make it easier to browse relevant blogs.
Provide better filtering and navigation for users.
Requirements
Modify CreateBlogDto and UpdateBlogDto to accept category_id.
Update Blog entity to establish a relationship with BlogCategory.
Adjust BlogService to ensure blog-category association.
Update API endpoints to allow fetching blogs by category.
Expected Outcome
Users can assign categories to blogs when creating or updating them.
The system stores category references in the database.
Users can filter blogs by category using API requests.
The category appears in blog responses, improving content organization.
Additional Context
Ensure backward compatibility, so existing blogs without categories remain unaffected.
Implement necessary validations to prevent assigning non-existent categories.
The feature should be tested with both blog creation and retrieval.
The text was updated successfully, but these errors were encountered:
Description
Currently, the blog service does not utilize the blog category module, which prevents blogs from being categorized. This affects the organization and discoverability of blog posts, making it harder for users to filter and navigate blogs based on their categories.
Acceptance Criteria
Purpose
Requirements
Expected Outcome
Additional Context
The text was updated successfully, but these errors were encountered: