I built a simple chat website that has two mail realms(groups) where all users can chat. The users can further create their own realm and add members or members can join if the realm allows. There are features of anonymity, msg expiration, voice and text messages. Voice messages are distorted and are of low quality. The user is logged in by sessions of 30 minutes if permanent account and 5 minutes if guest account. The personal messages(dms) are an early stage beta version but they work too, with some patience😥😁.
So, the project is ready like the I tried my best to resolve production errors for dms but they still remain as of now. So kindly test it considering a beta feature after reading the read me file🙂🙂🙂
Log in to leave a comment
Just adding a simple png of the deployed site as there is very little time left and I’m sleep derived and just resolving errors like after creating the services separately and moving environment to production like tbh I have forgotten what I did and I m yet to apply optimization so a shorter devlog😁😁
Log in to leave a comment
So this devlog has been weird as I worked in chunks so I kinda resolved some errors especially of consistency as I added two search bars and functionality to add users and dm users by searching, n yepp to join realms by search, ofc only if that realm allows. I also enforced realm rules that were specified while realm creation and only one realm per person as of now and realms with unique names for ease in searching and maintaining realms. The application has grown large and I m gettin crazy managing it tbh😭😭
Log in to leave a comment
So I setted the main websocket that allows for personal msgs sending, like I got stuck for a whole year and debugging just because my payload was wrong and nothing was added but I eventually found that. Personal msgs are still under development but I implemented basic functionality of sending a msg and highlight username if a message was received from them. I tried to kinda use two browsers to show the functionality but it so happens that same host connects to backend, so it didn’t work🤧🙂
Log in to leave a comment
So, I added a member area for each of the realms the ones that a user has created not the global ones, there members could be added or deleted though I only implemented deletion as of now and that too without authentication
The main thing that took most of my time was adding option button besides user, and we can now tap it and that will take us to that user’s dm. that was all…
Log in to leave a comment
So I configured the global and voice chat components to be generalized so text and voice groups can be created using them. Groups are completely function now, though the parameters passed while creating group are not fully implemented like I am just differentiating on group type base just yet. And configured the side bar and header bar to show personal chats, though it is just kind of dummy as of now like no implementation or backend. And yepp I created area for personal chat too. Next I m thinking to work either further on groups or implementation of the personal chats.
Log in to leave a comment
In these hours, I created another personal chat service as I mentioned but that contains only a method of getting messages, and a database design but I got stuck there like how will the user know it received a msg. So I did some research on that but in the meantime I thought of implementing login with google to kinda show something I made. I couldn’t upload the video of that login as that requires jwt that requires website to be uploaded on a production server, and yep the login is for accounts that exist already, it is not for sign up yet. I m thinking of adding some kinda way around so it works there too.
Log in to leave a comment
Created a separate service for adding groups with unique names, though groups cannnot be opened or displayed as of now, it is just an adding service. As groups require members which are invited by personal messages so i thought to implement personal msgs first…..
Log in to leave a comment
A long devlog as I forgot a little about my project and I converted the monolithic version to microservices, only on my local machine as of now using docker but that gave some errors as the services needed to communicate some data between them and internal network vs my external host network also gave errors so basically I just resolved errors and brought the project to working condition using services as of now. Next I am thinking about creating groups yourself instead of the two predefined groups.
Log in to leave a comment