Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Chat Functionality: User Authentication & One-to-One Messaging #22

Open
maciejbrasewicz opened this issue Aug 13, 2024 · 0 comments

Comments

@maciejbrasewicz
Copy link

maciejbrasewicz commented Aug 13, 2024

Description:

We need to enhance the current chat application by adding user authentication and expanding its architecture to support a specific messaging workflow.

Requirements:

  1. User Authentication:
  • Implement a login system that allows users to authenticate before accessing the chat.

  • Use JWT tokens for managing user sessions.

  1. Messaging Workflow:
  • Users: Logged-in users should be able to send messages within the chat. These messages should be directed to a single recipient (the operator).

  • Operator: The operator should be able to view messages from all users. Each conversation should be organized into separate chat threads, allowing the operator to manage multiple one-on-one conversations simultaneously.

  1. Architecture:

The current architecture should be extended to support this new messaging workflow. Ensure that each chat thread between a user and the operator is distinct, and the operator can easily switch between conversations.

Please provide recommendations for the best approach to implementing these features, along with any potential challenges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant