django-whatsapp-web-clone

A WhatsApp Web Clone Chat Application for those developers that like to use Django Channel for handling WebSocket request

Stars
145
Committers
4

A WhatsApp Web Clone Chat Application for those developers that like to use Django Channel for handling WebSocket request

Demo

Login User1

Login User2

Start Chat

Make sure to login using User1 or User2

https://demo.josnin.dev/django-whatsapp-clone/chat/2/

Send GIFs by GIPHY

Screenshot of 2 users exchanging message

Screenshot Sharing blob image

Screenshot Loading & Save message

Installation

cd django-whatsapp-web-clone/

python3.7 -m venv env
. env/bin/activate
pip install -r requirements

How to run development server?

create all the required tables

python manage.py migrate

create superuser

python manage.py createsuperuser

start redis service using podman

podman run -p 6379:6379 -d redis:5

create .env file

add the following variable & replace it based on your own development keys

API_KEY=YourOwnGiphYAPIKeysdfasjfdgdf

SECRET_KEY=YourOwnSecretKey71041jkfohdslflasdfjhaljdfa

run the development server

python3 manage.py runserver
or
daphne -b 0.0.0.0 -p 8088 django_channel_tutorial.asgi:application

Youtube video tutorial

Youtube

Help

Need help? Open an issue in: ISSUES

Contributing

Want to improve and add feature? Fork the repo, add your changes and send a pull request.