Enter Chat Room
About the App
This is a combination of a couple of tutorials and personal knowledge. I used this to learn about the WebSockets API, the Fetch API and how those work with a Python (Flask) backend. For now there isn't a database on the backend and the chats are saved in memory but that will soon change.
How to Use
Enter a name in the top option. It doesn't have to be unique, its just used to distinguish you from anyone else in the same room. If you don't have a
'Room Code', just click 'Create a Room' and you will be taken to a chat room with just you. There will be a room code at the top of the screen, if
you give that code to someone else, after picking their own name, they will enter it into the 'Room Code' section and click 'Join a Room'.
If you are alone and just want to test
things out, open a second window in Incognito and enter in the room code there, you will be able to join your own room with another name and chat with
yourself.