COS301-SE-2024 / The-Republic

Imagine a fusion of ‘Eskom se Push’ and ‘X’. The Republic allows users to raise concerns and spread awareness about government services through incident reports, with cool data visualizations providing a dynamic overview of public sentiment on service delivery.
https://the-republic-six.vercel.app
7 stars 0 forks source link

Update Resolution and Points Services for Organization Resolutions #288

Closed hlokomani closed 1 week ago

hlokomani commented 4 weeks ago

Objective

Modify existing services and create new ones to handle organization-based resolutions and points.

Tasks

  1. Update ResolutionService:
    • [ ] Modify createResolution method to accept and store organization_id
    • [ ] Update point awarding logic to include organization points
  2. Update PointsService:
    • [ ] Create methods to award and deduct points for organizations
    • [ ] Modify existing methods to handle both user and organization points
    • [ ] Implement a method to get all organizations a user is a member of
  3. Update ResolutionRepository:
    • [ ] Modify methods to handle the new organization_id field

Acceptance Criteria

Be aware that this is just a rough outline, you do not have to follow it to the T.