Skip to content

sebastianbrooker2/formation

 
 

Repository files navigation

Soccer Field Formation Visualiser

Small React/Vite frontend plus a FastAPI backend for visualising RoboCup-style soccer formations from a bird's-eye view.

Stack

  • React 19 + Vite + TypeScript
  • FastAPI + Uvicorn
  • ESLint + Prettier
  • Vitest for frontend unit tests

Run locally

  1. Install the frontend dependencies:

    npm install
  2. Install the backend environment:

    uv sync --directory backend
  3. Start the Python backend:

    npm run backend
  4. In another terminal, start the frontend:

    npm run dev

The Vite dev server proxies /api/* requests to http://127.0.0.1:8000.

Checks

npm run check

Project layout

  • src/ contains the React app, SVG field renderer, config validation, and API client.
  • backend/app/ contains the FastAPI service and formation computation logic.
  • src/config/field_sizes.json holds the S/M/L field definitions used to derive all field geometry.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 75.8%
  • Python 13.7%
  • CSS 8.6%
  • JavaScript 1.3%
  • HTML 0.6%