I made this project when I first came to know about websockets. My aim was to build a IMS like whatsapp, messenger etc.
Client: React, Typescript, Websockets
Server: Quart (Async Flask), SQLite3, Tortoise ORM, Pydantic
I learnt how websockets and ISM work? Biggest challenge I faced was authorization in websockets, I had to read many articles to implement a secure authorization.
Side Note: This project was built 2 years ago. And this readme was added later, some features might not work as expected, feel free to fix them :)
Signup Page (I know it's not pretty, lol)
Clone the project
git clone https://github.com/Wiper-R/Live-Chat
Backend
Go to the project directory
cd backend
Install dependencies
python -m pip install poetry
poetry install
Start the server
python app.py
Frontend
Change directory
cd Frontend
Install dependencies
npm install
Start the server
npm start