AndrGab / AndrGab/debezium

[HACKTOBERFEST] Chat Rooms System

未关闭
#9 2 条评论 0 个 reaction 已指派 1 人 已被 @Kriishna1 认领 在 GitHub 查看
enhancement good first issue hacktoberfest help wanted
主要语言
HTML
星标
4
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

Chat Rooms System

## 🎯 Objective
Allow users to create and join different chat rooms to organize conversations by topic.

## 📋 Tasks
- [ ] Create interface for creating/joining rooms
- [ ] Modify WebSocket to support rooms
- [ ] Implement room-based broadcasting (messages only go to users in same room)
- [ ] Add active rooms list in sidebar
- [ ] Allow private rooms with password
- [ ] Show how many users are in each room

## 🎨 Files to Modify
- `app/internal/connection_manager.py` (manage rooms)
- `app/routes/websockets.py` (room support)
- `app/templates/index.html` (room interface)
- `app/static/script.js` (room logic)

## 🧪 How to Test
1. Create a new room
2. Connect multiple users
3. Test messages between rooms
4. Verify isolation between rooms

## 📚 Useful Resources
- [WebSocket Rooms](https://websockets.readthedocs.io/en/stable/howto/patterns.html)
- [FastAPI WebSocket Groups](https://fastapi.tiangolo.com/advanced/websockets/)

## 🤝 Need Help?
Open a discussion or mention @andrgab

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。