swarooppatilx / scruter

Scruter is a local classifieds and community site designed to bring people together for buying, selling, and exchanging goods and services.
https://scruter.vercel.app
GNU General Public License v3.0
28 stars 135 forks source link

EDIT: ON HOLD AS PER DISCUSSION: Implement Chat Functionality between Users and Sellers #517

Closed ShivanshPlays closed 1 week ago

ShivanshPlays commented 2 weeks ago

Implement Chat Functionality between Users and Sellers

Overview

This feature will allow users and sellers to chat with each other in real-time, enabling discussions related to listings, prices, availability, and other details. The implementation will involve building a real-time chat interface, storing chat data, and ensuring users and sellers can communicate within their respective roles.


Phase 1: Backend Setup

Objective:

Tasks:

Expected Outcome:


Phase 2: Frontend Chat Interface

Objective:

Tasks:

Expected Outcome:


Phase 3: User Authentication and Permissions

Objective:

Tasks:

Expected Outcome:


Phase 4: Notifications & Alerts

Objective:

Tasks:

Expected Outcome:


Phase 5: Testing & Bug Fixing

Objective:

Tasks:

Expected Outcome:


Acceptance Criteria:


Additional Information:


Deliverables:


PRs to Submit:

  1. PR 1: Backend Setup – Add database models, API routes, and WebSocket setup for real-time communication.
  2. PR 2: Frontend Chat Interface – Implement the chat UI and connect it with real-time updates.
  3. PR 3: User Authentication and Permissions – Secure chat functionality and add authorization logic.
  4. PR 4: Notifications & Alerts – Add message notifications and unread message indicators.
  5. PR 5: Testing & Bug Fixing – Write unit tests and fix bugs based on testing feedback.

Labels:

ShivanshPlays commented 1 week ago

532