Skip to content

Implement User Preferences and Filtering in NotifyOps #21

@Arpit529Srivastava

Description

@Arpit529Srivastava

Description

Add a MongoDB backend to store user/repo settings like notification filters, exposed via APIs. This personalizes the app, building on your MongoDB experience.

Steps to Implement

  1. Set up MongoDB (local or cloud) and integrate with Go using a driver like mongo-driver.
  2. Create schemas for preferences (e.g., filters, channels).
  3. Add API endpoints (e.g., POST /api/preferences) to manage settings.
  4. Update notification logic to apply filters before sending.
  5. Test storage and retrieval with sample data.

Acceptance Criteria

  • Preferences are persisted and retrievable.
  • Filters reduce unnecessary notifications.
  • API endpoints are secure and documented.

Related Issues/Dependencies

  • None; can be standalone.

Effort Estimate

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions