A rewrite of joaorb64/TournamentStreamHelper into React and FastAPI (via Python with asyncio). May change a lot with things getting started.
It's recommended to install Node.js (for NPM) and Python 3, then run npm run setup
(npm run setup:win
on Windows) to install Python dependencies and npm install
to install JavaScript dependencies.
npm run dev
(npm run dev:win
on Windows) to run the developer environment with hot-module reloading.
npm run server
(npm run server:win
on Windows) to run the server only and not compile the frontend.
npm run build
to compile the frontend for use by FastAPI.
The following dependencies are planned to be used in Python:
- asyncio
- FastAPI for server-side rendering and REST APIs
- Hypercorn as the ASGI server
- httpx for asyncio web requests
- loguru for logging
- socketio for communication to/from React
...and in React:
- React 18
- Material UI
- react-router
- react-intl for i18n
- react-use-websocket for Socket.io support
- zustand for state management