An open API service indexing awesome lists of open source software.

https://github.com/pedroh183/messengersocket

A test chat socket with python (flaskio, flask and Jinja )
https://github.com/pedroh183/messengersocket

chat flask socket-io

Last synced: 28 days ago
JSON representation

A test chat socket with python (flaskio, flask and Jinja )

Awesome Lists containing this project

README

          

# MessengerSocket
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 ).

### Running the project
Go to root of project and create your virtual-env

- install dependences
`cat -r requirements | xargs poetry install` using pip or `pip3 -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.

#### Structure of Project

├── 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