You typically run the backend and frontend in two separate terminal windows. The frontend dev server proxies all
/api requests to the backend on port 8080.- Backend
- Frontend
From the The script sets up a throwaway SQLite database (The dev server restarts automatically when you change Python source files.
backend/ directory:1
Create and activate a virtual environment
2
Install the package in editable mode
3
Start the dev server
halite-dev.db), runs alembic upgrade head, and starts uvicorn with --reload on http://127.0.0.1:8080. Default credentials are admin / changeme.Regenerating API types
After changing any backend Pydantic schema or route, regenerate the frontend’s TypeScript types from the root of the repository:.venv to already exist. See API Spec for details.