0
votes

I want to create an app to allow users on my site to message each other in real time. Channels seem to be the logical choice however, all the resources I'm finding online is for making more of a chat room. Where can I find tutorials or recourses on making a single peer-to-peer chat?

1

1 Answers

1
votes

I would concur on channels being the go to method. As Channels allows Django to support WebSockets in a way that’s very similar to traditional HTTP views. Channels also allow for background tasks that run on the same servers as the rest of Django. HTTP requests continue to behave the same as before, but also get routed over channels

Also, have a look this, chat tut & gearheart chat