django-real-time-chat-website Tailwind Templates

Django Real Time Chat Website

A real-time chat website using Django Channels, Tailwind CSS, and JavaScript.

🌲 Django Real-time Chat Website

💼 General Purpose

In this exciting project, we build a dynamic chat website by leveraging Django Channels to enable real-time communication. Users can engage in live conversations with agents on the backend, providing an interactive and responsive platform.

It's just for a personal or learning project

📸 Screenshots / Demo

🎥 Project Walkthrough

Click the image below to watch a video walkthrough of the project: Watch the demo:

🛠️ Tech Stack

  • Backend: Django, Django Channels
  • Frontend: Tailwind CSS, flowbite, JavaScript
  • Database: SQLite
  • Authentication: Django authentication system

🙏 Credits

  • This project was created and inspired by the YouTube tutorial from Code With Stein. Watch the full tutorial here: YouTube Link.

https://youtu.be/9e7CTR2Ya4Y?feature=shared

Special thanks to the creator for the detailed step-by-step guide on building this chat website using Django Channels and real-time communication techniques.

📦 Installation

Follow these steps to get the project running on your local machine:

  1. Clone the repository
  2. Create and active a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies
pip install -r requirements.txt
  1. Install Node.js Dependencies for Tailwind
npm install

Start Tailwind in watch mode:

npx tailwindcss -i ./static/css/main.css -o ./static/css/main.min.css --watch
  1. Configure the Database
python manage.py migrate

(Optional: Create superuser)

python manage.py createsuperuser
  1. Run the Development Server
python manage.py runserver

Visit http://127.0.0.1:8000/ to view the chat website in action!

🤝 Contributing

Contributions are welcome! Please open an issue first to discuss what you'd like to change.

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

🙋‍♂️ Contact

GitHub: @ouyniya

Top categories

Loading Svelte Themes