Before starting, install uv, which is used to manage the Python environment and dependencies.
Installation guide: https://docs.astral.sh/uv/
- Navigate to the server directory:
cd server
uv sync- Start the backend server:
uv run uvicorn main:app --reload --port 3001The backend will run at: http://localhost:3001
Navigate to the frontend app directory:
cd appInstall dependencies:
npm installStart the development server:
npm run devThe frontend will run at the URL printed in the terminal (commonly http://localhost:5173).
.
├── data/ # Data files (not included in this repository)
├── server/ # FastAPI backend
└── app/ # React based Frontend web application- Backend framework: FastAPI
- ASGI server: Uvicorn
- Python environment and dependency management: uv
- Frontend runs with a development server that supports hot reload.
- Start the backend first, then run the frontend to ensure API requests work correctly.
Important
MacOS may block localhost, you may need to use 127.0.0.1 instead, which could require you to change the vite proxy.