Skip to content

Unique-01/simple-group-chatapp

Repository files navigation

Simple Chatapp

Simple chatapp using django, django-channels and websocket

Features

  • Login / Signup
  • Chat with other users in the same room

ScreenShots

chatlogin chatroom

Installation

  • Clone the Repository
  • Create a Virtual environment
  virtualenv venv
  source venv/bin/activate
  • Go to the project directory
    cd chatrealtime
  • Inside the project folder
  • Run the following command in the terminal
    pip install -r requirements.txt
  • Open the settings file and change DEBUG to True

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SECRET_KEY

EMAIL_HOST_USER

EMAIL_HOST_PASSWORD

Run Locally

Run the following Command

    python manage.py makemigrations
    python manage.py migrate

Then start the server with

    python manage.py runserver

or

    daphne chatrealtime.asgi:application
  • It will run the application on your localhost
  • Open the browser with the localhost address and enjoy the application

About

This is my first realtime chatapp created with django, django-channels and websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published