RoboGlance is a smartwatch app with complications that help you stay informed about your FTC/FRC events.
The backend processes live match data to keep the client smartwatch app up-to-date.
These instructions are for developing the RoboGlance API in VS Code.
- install prerequisites
- clone the git repository
- open the git repository in VS Code
- configure Git to rebase by default when pulling in this repository
git config pull.rebase true - install workspace recommended VS Code extensions
- setup virtual environment with uv
uv sync
- copy this
.envfile in your repository root and add your api keysROBOGLANCE_TBA_API_KEY=<your read API key> # get from https://www.thebluealliance.com/account
- run the development server
- using the "Python Debugger: RoboGlance API" launch configuration in VS Code
- using the terminal
uv run fastapi dev
- open http://localhost:8000/docs to test endpoints
- format code with Ruff
- by enabling "Format on Save" in your settings or using the "Format Document" command in VS Code
- using the terminal
uv run ruff format
- lint code with Ruff
- using the Ruff VS Code extension
- using the terminal
uv run ruff check