Skip to content

mukit-hasan/Flask-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask-SocketIO Chat System

Welcome to the Flask-SocketIO Chat System, a simple and interactive chat application built using Flask and SocketIO.

Getting Started

Prerequisites

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.

Usage

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.

Start chatting with others in the room!

TO Create a Room

image

Get the Room Code

image

Join a Room with Room code

image

image

Additional Information

Visit Python Official Website to download and install python.org.

Explore Flask documentation here Flask .

Learn more about Flask-SocketIO here Flask-SocketIO .

Enjoy Chatting!

Feel free to contribute, report issues, or add new features. Happy chatting!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published