Skip to content

HjtDev/django-live-chat

Repository files navigation

Django Live Chat

A real-time chat application built with Django and WebSockets. This project allows users to communicate in real-time, making it suitable for various applications such as customer support, community forums, or personal messaging.

Features

  • Real-time messaging using Django Channels
  • User authentication
  • Chat rooms for group conversations
  • User-friendly interface

Requirements

Before running this project, ensure you have the following installed:

  • Python 3.x
  • Node.js (for managing frontend assets)
  • Django 3.x or higher
  • Django Channels

Required Packages

To install the required Python packages, you can use pip. Create a virtual environment and install the dependencies as follows:

  1. Clone the repository:

    git clone https://github.com/HjtDev/django-live-chat.git
    cd django-live-chat
  2. Create and activate a virtual environment:

    python3 -m venv env
    source env/bin/activate  # On Windows use `env\Scripts\activate`
  3. Install the required Python packages:

    pip install -r requirements.txt
  4. Install Node.js packages (if applicable):

    npm install

Setup

Configure your database: Update the database settings in settings.py according to your database configuration.

  1. Run migrations:

    python manage.py makemigrations && python manage.py migrate
  2. Create superuser(to see all the rooms as admin):

    python manage.py createsuperuser
  3. Run the development server:

    python manage.py runserver

About

Django Simple Live Chat is a real-time chat application built using Django Channels, providing a seamless and interactive communication experience. It allows users to create and join chat rooms, send and receive messages instantly, and engage in dynamic conversations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors