dataflow.api.run_chess_api¶
Chess API demonstration script.
This script launches a standalone API server for the chess game with WebSocket support and Supabase integration.
- Usage:
python run_chess_api.py [–port PORT]
- Environment variables:
SUPABASE_URL: The URL of your Supabase instance SUPABASE_SERVICE_KEY: Service role API key SUPABASE_ANON_KEY: Anonymous API key
Functions¶
|
Parse arguments and run the chess API server. |
|
Run the chess API server. |
Verify that required environment variables are set. |
Module Contents¶
- dataflow.api.run_chess_api.main()¶
Parse arguments and run the chess API server.