/socketio-example

(UNMAINTAINED) socket.io client/server example with Bocadillo, python-socketio and socket.io-client

Primary LanguageHTMLMIT LicenseMIT

socket.io example

socket.io client/server example with Bocadillo, python-socketio and socket.io client.

This is a reproduction of the the socket.io chat tutorial, but using:

  • python-socketio instead of socket.io as a server-side socket.io backend.
  • Bocadillo instead of Express as a web application server.

Install

Requires Python 3.6+.

  • Python dependencies:
pip install bocadillo python-socketio
# OR
pipenv install
  • Node.js dependencies:
npm install

Quick start

  1. Fire off the server:
python app.py
  1. Open up a web browser at http://localhost:8000, and start chatting!

License

MIT