DEV Community 👩‍💻👨‍💻

Kaustav Banerjee
Kaustav Banerjee

Posted on

Django Chat Room App

Can any one help me build a chat room app? Where People will be able to create chat rooms with their desired name and then invite people to chat there. guest and the host of the room should also have the independence of choosing their handles (names). I would prefer python django as I am learning it !! lets see how strong the community is at dev.to :P .

Actually I already found a source django channels example which he deployed on heroku (https://django-channels-example.herokuapp.com/) but god knows why I am having so much trouble with this while deploying locally. Sometimes the messages are not getting stored in the postgresql database resulting in no output in the chat room.

Top comments (9)

Collapse
 
k4ml profile image
Kamal Mustafa

I did play around with django channels but that was 2 years ago - github.com/devkini/mychat/tree/mas...

I'd also work on a simple chat using cherrypy in the past - github.com/XuryaX/chatery

Collapse
 
kaustav1996 profile image
Kaustav Banerjee

Hey , Thanks :) . well having a hard time running chatery. gives a 502 gate way erro when I open 0.0.0.0:2015

Collapse
 
kaustav1996 profile image
Kaustav Banerjee • Edited on

Fixed that :P Now,I'll try to modify these so that the users can make there own chat rooms.Any suggestions?

Collapse
 
rajasimon profile image
Raja Simon

Channels is good in lot of ways. It's evolved around numerous bug fixes recently and can you tell me clearly what's trouble now?

Collapse
 
kaustav1996 profile image
Kaustav Banerjee

The database gets updated sometime and some time it doesn't :|

Collapse
 
kaustav1996 profile image
Kaustav Banerjee

I mean sometimes the chats are getting stored and some times they are not

Thread Thread
 
eoguh profile image
Emmanuel Oguh

Hello... I need help with my AsyncWebsocketConsumer. It isn't sending objects... Yet it doesn't return any error at all.

Collapse
 
kaustav1996 profile image
Kaustav Banerjee • Edited on

It would be awesome if someone replied instead of reacting :P

Collapse
 
eoguh profile image
Emmanuel Oguh

😂 I'm facing similar stuff.

Here is a post you might want to check out:

Regex for lazy developers

regex for lazy devs

Sorry for the callout 😆