DJ-Chat is a real-time chat application built with Django and Django Channels. It supports WebSocket connections for live messaging, making it a perfect fit for chat-based applications.
- Real-time messaging with WebSocket (WSS) support.
- User authentication and session management.
- Multi-user chat rooms.
- Asynchronous communication with Django Channels.
- Python 3.9.2
- PostgreSQL (optional if using a different database)
-
Clone the repository:
python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate
cd dj-chat pip install -r requirements.txt
If you're using PostgreSQL, ensure it's running and create a database for the project. Update the DATABASES setting in settings.py with your credentials.
python manage.py makemigrations python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Open your browser and navigate to http://127.0.0.1:8000/ to see the application.