feat: Category Feature - Service Layer (#86) #91
Reference in New Issue
Block a user
Delete Branch "feature/category-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add category service layer methods (Issue #86).
Changes
Category Management
add_category()- Create a new category (admin only, validates slug format)delete_category()- Soft delete a category (admin only)list_categories()- List all active categoriesget_category()- Get a category by slugCategory-to-Bounty Association
add_category_to_bounty()- Add a category to a bounty (admin only)remove_category_from_bounty()- Remove a category from a bounty (admin only)update_bounty_categories()- Replace all categories on a bounty (admin only)Validation
Testing
All 96 existing tests pass.
lgtm