Python Django Realtime Chat Project - Full Course

preview_player
Показать описание
In this Python Django course, you will learn how to build a real time chat application from scratch. For the backend, we will use Django with a package called Channels and the frontend will use vanilla JavaScript with Web Sockets.

Python Django is the perfect backend for a project like this. If you're a beginner wanting to learn Django and how to build a simple chat app, look no further.

Timestamps:
00:00:00 Introduction
00:00:24 Environment setup
00:02:01 Core app
00:06:42 Design
00:12:22 Sign up
00:20:25 Log out
00:24:12 Log in
00:26:12 Rooms app
00:29:32 List rooms
00:41:38 Consumers
00:26:12 Rooms app
00:47:50 Joining a chat
00:51:30 Sending messages
01:01:02 Storing messages
01:08:12 Scrolling

For the design, we will use Tailwind CSS.

---

Code With Stein Premium

Support me

Important links

---

#codewithstein #django #learndjango #djangotutorial #djangotailwind #djangochatapplication #djangochatappproject #djancochat #djangorealtime #djangochannels #djangoauthentication #djangowebsockets #websockets
Рекомендации по теме
Комментарии
Автор

Really my lifesaver, please keep doing contents like this. The clearest and most structured tutorials about django and python on Earth I could say.

RioTiger
Автор

U just got yourself a new subscriber. I really appreciate some quality content .keep up the good work man

stachcode
Автор

This is absolutely amazing... Funny how you are good at styling and getting a neat work... Most of us backend developers don't like being stressed with CSS😅.

nnanyereugoemmanuel
Автор

This is the best of the tutorials I found which is great teaching as well as relevant to today's updates of the django and channel. Thank you so much for this amazing tutorial.

birigu
Автор

Thank you sooo muuch ! I needed to use daphne channel with official documentation but It''s really useful !

AkiraShocking
Автор

For anyone looking for a way to display 25 newest messages in room (instead of 25 oldest), you can do it like that:
messages =

dawmro
Автор

Many thanks for the tutorial. It was super helpful!! A little hint for the viewers: I am almost sure, you have to rename 'messages' (that is passed from the view to the HTML) to something else, otherwise it interferes with the messages framework.

exocom
Автор

Update to the chatrooms project.
1) python -m pip install -U 'channels[daphne]'
2) listing 'daphne' on top of installed apps on the settings file.

This will help in taking care of chat functionality if it is not working.

justme-dzwy
Автор

I built it, it was an amzing journeyThank you Mr.

KamTechTravelTech
Автор

Hi Stein.
Thank you for this nice tutorial.

GevorgVardanyan
Автор

It's amazing!!! Thank you so match!

sergeyantonov
Автор

Thank you for your work. This helped a lot

Leo-gzus
Автор

An amazing content, with your content & previous knowledge, I'm about to deploy my chat-server to the colud. Thank you ❤

tanjimashraf
Автор

bro, your video helped me understand everything more or less

swishers
Автор

Awesome tut
Thank you very much, sir!

soulfibre
Автор

thanks a lot ur videos are great!, as soon as i have some money to spare ill join ur patreon !

NLD
Автор

Those who have problems with the websocket connection try using the version of channels==3.0.5
That solved the problem for me

josejan
Автор

Thanks for the video. I had to install daphne in order for the WebSocket transmission to work

FalseHuman
Автор

for anyone looking if you have a problem connecting .. this tutorial needs to be updated with
1) python -m pip install -U 'channels[daphne]'
2) listing 'daphne' on top of installed apps ... channels can also be listed in there...

diff
Автор

Thank you, this is very helpful <3

cookiebrains