Django Realtime Chat App Tutorial - Simple Django Tutorial With Channels And Redis

Django Realtime Chat App Tutorial - Simple Django Tutorial With Channels And Redis

/ #Django


Learn how to build a simple realtime chat application using Django, Web sockets, Channels and Redis.

Todo list

-Set up the environment and install everything
-Create the front page
-Create the room page
-Connecting to a room
-Sending messages to each other
-Storing messages in a database

Messages are stored in a database, so it's even possible to see old messages.

To connect with the backend, I use Web Sockets (Vanilla JavaScript). To add async support to Django, I use Channels.

Redis is used as a in-memory cache for Channels.

Video


Comments

No comments yet...

Add comment

Newsletter

Subscribe to my weekly newsletter. One time per week I will send you a short summary of the tutorials I have posted in the past week.