Real time chat with socket.io...
Socket.io is a Javascript library for web apps that allows real-time communication between clients and servers. In this application, I use Flask and Socket.io to create a simple online web chat.
On the first screen, the user needs to fill in the chat room ID they want to enter and also a username. Multiple chat rooms can be created and messages sent in one chat room will not be displayed in other ones.
Once entering the chat room, the user can send real-time messages to their friends. The user also has the option to leave the chat room if they want. If there is someone entering or leaving the room, all users in the same room will be informed.
Please watch the demo video below.