A chat socket created with rooms, you can create isolated temporary rooms ( and history ).
Developmented with Flask and Flask-SocketIO, to render front-end i using jinja ( backend render ).
Go to root of project and create your virtual-env
-
install dependences
cat -r requirements | xargs poetry install
using pip orpip3 -r requirements.txt
using poetry -
run the program
python3 main.py
NOTE: that i'm not use flask-script or any lib to manager my socketio server only using socketio.run() creates a basic server to development.
├── LICENSE
├── main.py --- server side code
├── poetry.lock --- dependences
├── pyproject.toml --- dependences
├── README.md
├── static --- static files to jinja
│ └── css
│ └── style.css
└── templates --- templates of views
├── base.html
├── home.html
└── room.html