Initial screen where the user will enter their name
A snapshot of two people chatting with each other. This is not restricted to only two people, It can accept multiple connections at a time
In my company, I was assigned to a work which involves WebSockets. I never worked with WebSockets before so I decided to develop a simple chat application using WebSockets to learn more about it and to implement it in my company. And of course, I got inspired by WhatsApp also.
What it does
It's basically a chat room where people can come in and chat with each other. When a user enters the website it will first ask for their name after that they can chat with other people who are all online.
How I built it
I built it using ReactJS, NodeJS, and of course, used WebSockets.
Challenges I ran into
Since I'm new to WebSockets world I ran into some issues. Facebook and WhatsApp allowed me to connect and chat with experts and friends to help me get going with my project.
What I learned
I learned many things about Websockets and ReactJS in general. It helped me to implement the same in my company.
What's next for Chat Room
Currently, the chat room doesn't have authentication and authorization, so the next thing will be implementing the same. Also, the messages that the users send is not stored, going forward I'll implement a secure storage mechanism and use end-to-end encryption for communication.