This is a Django-based chat application that allows users to create accounts, log in, view online users, start chats with online users, and send messages in real-time.
- User registration and authentication
- Viewing online users
- Initiating chats with online users
- Real-time messaging using WebSockets
- Friend recommendations based on interests
- Clone the repository.
git clone https://github.com/ibr03/django-chat-app.git
- Create a virtual environment and install dependencies.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Apply migrations and create a super user
python manage.py migrate
python manage.py createsuperuser
- Run development server
python manage.py runserver
- Visit http://localhost:8000/ to access the chat application.
- Use the provided API endpoints for registration, login, and chat functionality (details in API documentation).
- WebSocket connection is available at ws://localhost:8000/ws/chat/.