This is a simple chat room application built using Flask, Socket.IO, and JavaScript. Users can join chat rooms, send messages, and see messages from other users in real-time.
- Join existing chat rooms or create new ones
- Real-time messaging using WebSockets
- User-friendly interface with consistent styling
-
Clone the repository:
git clone https://github.com/UniquePython/ChatRoom.git
-
Create a virtual environment and activate it:
- On Windows
python -m venv venv venv\Scripts\activate
- On macOS/Linux
python3 -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Start the Flask application:
python main.py
-
Open your web browser and navigate to localhost.
- main.py: The main Flask application file.
- templates: Contains HTML templates.
base.html: Base template with common layout.home.html: Home page template where users can join or create chat rooms.room.html: Chat room template where users can send and receive messages.
- style.css: Contains the CSS styles for the application.
This project is licensed under the MIT License. See the LICENSE file for details.
- Flask: Website
- Socket.IO: Website
- Tech With Tim: Youtube Video
