Conversational money assistant
- Node.js 18+ and npm
- Python 3.11+
# Frontend
cd frontend
npm install
# Backend
cd ../backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# deactivate when you're done working on the backend
deactivateFrom the repository root:
chmod +x ./run.sh
./run.shThe FastAPI server will be available on http://localhost:8000 and the Next.js app on http://localhost:3000.
./run.shautomatically ensures the backend virtual environment atbackend/.venvexists and installs dependencies whenbackend/requirements.txtchanges, so you do not need to manually activate the environment when using the combined runner.
-
Ensure the FastAPI dependencies are installed (
pip install -r backend/requirements.txt) and the frontend dependencies are installed (npm installinsidefrontend/). -
From inside the
frontend/directory, run:npm run generate:api
This will export the FastAPI OpenAPI schema to
frontend/openapi.jsonand regenerate the typed React Query hooks insidefrontend/lib/api/using Orval.