A full-stack application combining a FastAPI backend and a React Vite frontend. The backend provides API and WebSocket to get live robot status, while the frontend delivers a user-friendly dashboard interface.
- Ensure Docker and Docker Compose are installed.
- Clone the repository:
git clone cd
- Run the services:
docker-compose up -d
- Access the application:
- Backend: http://localhost:8000
- Frontend: http://localhost:5173
- Navigate to the backend directory:
cd backend
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the backend server:
uvicorn app.main:app --host 0.0.0.0 --port 8000
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Run the development server:
npm run dev
The backend will be available at http://localhost:8000, and the frontend at http://localhost:5173.