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 )
- Host: GitHub
- URL: https://github.com/pedroh183/messengersocket
- Owner: PedroH183
- License: mit
- Created: 2023-12-26T21:44:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T00:37:24.000Z (over 1 year ago)
- Last Synced: 2025-05-09T01:51:19.241Z (5 months ago)
- Topics: chat, flask, socket-io
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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