Skip to content

Added Features: CRUD API for Tags and Comments #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shewunie
Copy link

This PR adds two new REST API features to enhance the existing Flask web application:

✅ Tags/Categories Feature

  • Full CRUD functionality (Create, Read, Update, Delete)
  • Allows posts to be categorized using tags
  • Useful for filtering and organizing content

✅ Comments Feature

  • Full CRUD operations for comments
  • Enables users to add, edit, and delete comments on posts
  • Each comment is linked to a specific post

🧪 Testing

  • All endpoints are covered with unit tests using pytest
  • Includes both valid and invalid (positive and negative) test cases

⚠️ Error Handling

  • Proper HTTP status codes (200, 201, 400, 404, etc.) implemented
  • Validation checks for missing or invalid input

These features aim to improve the user experience and content interaction in the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant