This page describes how to prepare the development environment.
From the project root:
cd frontend
npm install
Run the Frontend Manually
npm run tauri:dev
From the project root, navigate to backend directory:
cd backend
poetry install --all-extras --with dev
Run the Backend Manually
For development:
cd backend
poetry run uvicorn main:app --host 127.0.0.1 --port 8765
# or
bash /start.sh
Run:
curl http://127.0.0.1:8765/openapi.json
A JSON response confirms that the backend is running correctly.
Check the Backend Port
lsof -nP -iTCP:8765 -sTCP:LISTEN
During development, the Python backend can run directly through Poetry and Uvicorn.
This avoids packaging the backend every time frontend code changes.
Development Environment
│
├── React / TypeScript
│
├── Tauri
│
└── Poetry
│
▼
FastAPI / Uvicorn
│
▼
127.0.0.1:8765