Chat app:
Chat app:
Chat app is an app meant to serve chat channels using web socket I meant to build it to provide an easy way for communication by building a channel easily.
Technologies:
-??????? For backend I used Django, with packages like daphne, channels. So that I can build websockets to create channels, and I used Django authentication system.
-??????? For Frontend I used java script. It’s perfect for the project.
Features:
-??????? Create or join different channels.
-??????? Authentication system to be able to access the channel.
-??????? Authentication based channels, allowing user to create channel only when logged I, and saving only recent messages in session for the channel created for each user.
Challenges:
领英推荐
-??????? I needed to use daphne and channels to build the application, that required certain setup that is different than the usual one used for a Django app. I also used daphne to serve the app which was different and challenging to figure out.
-??????? Authentication wasn’t difficult but I decided to exclude using username in the authentication form, I saw in a certain platform required task with similar requirements. I challenged myself to exclude the username and that required me to figure out how to create the form and make a manual validation. I could do it and it was worth the time.
-??????? It was very challenging to be able to save recent messages in sessions, since to was new to me also it required configuration based on channels. I made sure saved messages in sessions are only for the current channel used and to clear messages when a new channel is created.
-??????? I deployed the project in heroku and it was a new hosting platform for me.
?New perspective:
I learned more about Django. Django is amazing and has a lot of features, I got an idea it’s amazing for large scale projects
Website Link: https://chatappdjango-4abfd00ba3fb.herokuapp.com/