Description:
Currently, users can create and manage notes, but there's no way to organize them efficiently. Adding a tagging or categorization system would significantly improve note management.
Expected Behavior:
Users can add tags/categories to notes (e.g., "Work", "Personal", "Ideas").
Dashboard should allow filtering notes by tags.
Tags should be editable/deletable.
Technical Considerations:
Update Notes model to include a tags: [String] field.
Modify add.ejs and edit.ejs to include a tags input (comma-separated or select dropdown).
Enhance search functionality to filter by tags.
Acceptance Criteria:
✅ Users can add/remove tags when creating/editing notes.
✅ Dashboard displays tags and allows filtering.
✅ Tags are saved and retrieved correctly from MongoDB.
Description:
Currently, users can create and manage notes, but there's no way to organize them efficiently. Adding a tagging or categorization system would significantly improve note management.
Expected Behavior:
Users can add tags/categories to notes (e.g., "Work", "Personal", "Ideas").
Dashboard should allow filtering notes by tags.
Tags should be editable/deletable.
Technical Considerations:
Update Notes model to include a tags: [String] field.
Modify add.ejs and edit.ejs to include a tags input (comma-separated or select dropdown).
Enhance search functionality to filter by tags.
Acceptance Criteria:
✅ Users can add/remove tags when creating/editing notes.
✅ Dashboard displays tags and allows filtering.
✅ Tags are saved and retrieved correctly from MongoDB.