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.
This is a hefty ticket. The goal is to implement backend support for subscription management. Users should be able to subscribe to issues, categories, or locations and manage their subscriptions (ie delete them if they would like). Integrate Supabase Realtime for real-time notifications.
The prerequisite to this ticket being completed successfully is the Location ticket being completed. So first check if that has been completed before starting this.
Subtasks:
[x] Create subscriptions table in the database.
[x] Create notifications table in the database.
[x] Index the user_id, created_at fields for quicker query time
This is a hefty ticket. The goal is to implement backend support for subscription management. Users should be able to subscribe to issues, categories, or locations and manage their subscriptions (ie delete them if they would like). Integrate Supabase Realtime for real-time notifications.
The prerequisite to this ticket being completed successfully is the Location ticket being completed. So first check if that has been completed before starting this.
Subtasks:
subscriptions
table in the database.notifications
table in the database.SubscriptionRepository
.SubscriptionService
.SubscriptionController
.SubscriptionController
For help: