FastAPIでWebSocketsを動作させるためのサンプルプログラム
WebSocketsを使った簡単なチャットアプリのデモです
複数ウィンドウを開き、それぞれ以下のリンクにアクセスする http://localhost:8080
メッセージを送信すると、開いたウィンドウ全てににメッセージが表示される
# コードをクローンする
$ git clone https://github.com/sattosan/sample-fastapi-websockets.git
# クローンしたディレクトリへ移動
$ cd ./sample-fastapi-websockets
# コンテナの起動
$ docker-compose up -d --build
