Skip to content

barzansaeedpour/socket-io-flask-react-chat-app

Repository files navigation

Chat App with Socket Programming (Python & React)

Flask & React

This repository contains a Chat App built using Flask and React, leveraging socket programming for real-time communication. It provides a simple and interactive interface for users to engage in real-time conversations.

alt text

How to run (Windows)

Open three terminals (one for the Backend and two for the Frontend instances):

  • Backend Terminal

    • cd backend
    • python -m venv env
    • env\Scripts\activate
    • pip install -r requirements.txt
    • python app.py
  • Frontend Terminal 1

    • cd frontend
    • npm start localhost:3000
  • Frontend Terminal 2

    • cd frontend
    • npm start localhost:3001

Result

alt text