Sunbird-cQube / uci_integration

2 stars 9 forks source link

User registration, with admin/user pannel #6

Open Himasnhu-AT opened 7 months ago

Himasnhu-AT commented 7 months ago

User registration, with admin/user panel.

Resolves #5. @invinayak007

Dev Docs and User Docs

Features:

Future tasks:

This is raised early so that other features can be implemented alongside so that the product can be released early.

Test Written:

AUTH WORK FLOW:

image

invinayak007 commented 7 months ago

User registration, with admin/user panel.

Resolves #5. @invinayak007

Dev Docs and User Docs

Features:

  • Sign in as user or admin.
  • ADMIN can create subscriptions, modify them, and send alerts to subscribed users. (The alert feature isn't working right now, will be done while integrating it with UCI.
  • USER can set preferences and send alerts.

Future tasks:

  • Improve UI
  • Add integration test, and increase test coverage.

This is raised early so that other features can be implemented alongside so that the product can be released early.

Test Written:

  • 8 test cases to cover API requests
  • test cases to write: cover more edge cases, integration testing.

AUTH WORK FLOW:

image

Send alert is not an operation from admin or user. After keeping the preferences, application will check the topic of a particular message and it will send it to UCI to deliver to recepients

Himasnhu-AT commented 6 months ago

hey @invinayak007 , as described on Discord, the send alert functionality is just to test whether this functionality is working or not. Later on we can remove it and call dynamically using api's