I struggled with a minimal example that bootstraps a WebSocket connection between a React client and a Flask backend.
cd backend
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
./launch-server.sh
cd frontend
npm install
npm start