This Project is a web application in which you can chat with your firends and customize your profile page.
There are signup, login, Profile and Chat buttons. You can go to specific pages from there
In the code I wrote this part with rest-framework. One can not create user without username models restriction and password model restrictions. So you can't put a common password.
You can login to system from here. But if you stay inactive for 2 minutes your session going to be ended. So you will need to login back.
This part is the profile page you can upload your profile data will be serialized and update your infos.
You can select and add these members to specific groups
You can create new group from here
There are users and groups. It shows you the groups that you joined.
and there is search functionality
you can search names. It will be filtered with javascript.
The backend code automatically creates a websocket connection and you can send messages without refreshing the page. All mesagges are stored in the database with its send time.
You can also search messages in the chat.
It is same with dm but you send messages to multiple people from here. You can also see the users who is in the group.
The last activity time of user is stored in the database. The messages is also stored in database. Passwords are hashed one can not see or use it. I uppdate last activity with middleware. Profile is stored in database. I used restframework functions ,classes and serializers in this project. I used Javascript in HTML too so thats why it shows HTML code percentage too much and javascript too less