This is a modern, responsive real-time chat application built with Django, featuring a sleek user interface and robust messaging functionality.
- 🚀 Real-time messaging
- 💬 User authentication
- 📱 Responsive design
- 🎨 Modern, clean UI
- 🔒 Secure communication
- Python 3.8+
- Django 3.2+
- pip
- virtualenv (recommended)
git clone https://github.com/ikhwanand/django-chat-app.git
cd django-chat-app
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
django-chat-app/
│
├── chat/ # Main chat application
│ ├── migrations/
│ ├── models.py
│ ├── views.py
│ └── ...
│
├── static/ # Static files
│ ├── css/
│ ├── js/
│ └── images/
│
├── templates/ # HTML templates
│ └── chat/
│
├── requirements.txt # Project dependencies
├── manage.py # Django management script
└── README.md # Project documentation
- Backend: Django
- Frontend: HTML5, CSS3, JavaScript
- Database: SQLite (default)
- Real-time: Django Channels (WebSocket)
- Modify
settings.py
for configuration - Adjust CSS in
static/css/
for UI changes - Extend models in
chat/models.py
- Uses Django's built-in authentication
- Implements CSRF protection
- Secure WebSocket connections
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - your.email@example.com
Project Link: https://github.com/yourusername/django-chat-app
Note: Replace placeholders like yourusername
and your.email@example.com
with your actual information.