Spaces:
Runtime error
Runtime error
Commit History
-
chat fixed:
5c20486
-
feat: implement Sprint 2 Dev A - Messaging & Discussions modules
Messaging Module (WhatsApp-like): - 10 REST endpoints: conversations CRUD, send message, mark read, delete-for-me/everyone, unread count, search, online users - WebSocket gateway (/messaging namespace) with Socket.IO: join/leave rooms, real-time send, typing indicators, read receipts, delete broadcasts, online status tracking - JWT auth on WebSocket handshake - Conversation model: root message + child messages + participants - Delete-for-me (soft delete per user) and delete-for-everyone - File attachment support via message subject metadata Discussions Module (Course Forums): - 10 REST endpoints: thread CRUD, post reply, nested replies, toggle pin/lock, mark-answer, endorse - Pinned threads appear first, locked threads block new replies - Answer marking and instructor endorsement support - View count and reply count auto-increment Infrastructure: - Added @nestjs/websockets, @nestjs/platform-socket.io, socket.io deps - Registered MessagingModule and DiscussionsModule in AppMod…a12cb0a