A real time messaging app, which uses sockets connection both in client and server side.
It was created using the Django framework which has the in-built sockets' library called Django-Channels
,
that gives us the ability to connect with the client-side application in real time.
In the client side of the application, I used the Websockets API
with Javascript to establish a
connection with the server.
Make sure you have installed Django & Redis on your system.
Run the manage.py
file from the root folder.
-
On Windows:
-
py manage.py runserver
-
On Unix / Linux:
-
python3 manage.py runserver
Note: Before running the manage.py
command, run the following commands
python manage.py makemigrations
and thenpython manage.py migrate
and then start the redis server.
redis-server
If running from source then dependencies can be installed from the requirements.txt
file.
Icons: https://icons8.com/