FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

kuznetsov-m/websocket-timer: Example Flask websocket project. Based on Flask-SocketIO. · GitHub

Repository files navigation

Websocket Timer (chech it live)

Example Flask websocket project. Based on Flask-SocketIO.

Flask server manage Timer with REST API requests (Start/Stop). Server emit timer events (timer value two times per sec) and send them via websockts to frontpage. Also, start/stop events are stored in a database (Postgres).

The application is packaged in a docker image and a docker-compose is prepared for deploying a service.

Run

gunicorn --bind=127.0.0.1:5000 --worker-class eventlet app:app

Links

About

Example Flask websocket project. Based on Flask-SocketIO.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages


Back | FazBrowse Home | New Git URL