Welcome to the Flask-SocketIO Chat System, a simple and interactive chat application built using Flask and SocketIO.
Make sure you have Python installed on your machine. If not, you can download it from python.org.
To check if Python is installed, open a command terminal (cmd) and type: python
If Python is installed, you'll see a Python prompt. Type exit() to exit.
Installing Dependencies Install the required Python libraries using pip:
pip install Flask
pip install Flask-SocketIO
Running the Application Open a terminal and navigate to the project's root directory.
Run the Flask server:
python main.py
Open your web browser and go to http://127.0.0.1:5000 to access the chat application.
On the home page, you'll find input boxes for your name and a room code, along with buttons to create or join a room. To create a room, enter your desired username, click "Create Room," and note the generated room code. To join a room, open the application in another browser, enter your username, and input the room code obtained from the first user.
Visit Python Official Website to download and install python.org.
Explore Flask documentation here Flask .
Learn more about Flask-SocketIO here Flask-SocketIO .
Feel free to contribute, report issues, or add new features. Happy chatting!