React dashboard for the Spring Boot Tesla backend.
npm install
npm run devOpen http://localhost:8080/tesla.
If your backend is not same-origin, create .env.local:
VITE_API_BASE_URL=http://localhost:8080Single frontend container:
docker build -t tesla-control-webapp .
docker run -d --name tesla-control-webapp -p 8080:8080 tesla-control-webapp:latestThe container serves React at /tesla on port 8080 and proxies /auth/* and /api/* to http://host.docker.internal:8080 by default.
Full stack on one public port:
docker compose up --build -dIn compose, the React app is available at http://localhost:8080/tesla, and Nginx proxies backend requests to the Spring Boot service over the Docker network.