A full-stack study assistant platform with a FastAPI backend and a React (Vite) frontend.
backend/: FastAPI application, routers, models, schemas, and seed scriptsfrontend/: React application built with Vite
- Python 3.10+
- Node.js 18+
- npm
- Open a terminal in the project root.
- Create and activate a virtual environment:
python -m venv .venv
.\.venv\Scripts\Activate.ps1- Install backend dependencies:
pip install -r backend/requirements.txt- Start the backend server:
cd backend
uvicorn main:app --reloadBackend runs at: http://127.0.0.1:8000
- Open a second terminal in the project root.
- Install frontend dependencies:
cd frontend
npm install- Start the frontend dev server:
npm run devFrontend usually runs at: http://127.0.0.1:5173
- Keep backend and frontend running in separate terminals during development.
- If CORS issues appear, verify backend CORS settings in
backend/main.py. - API client settings are in
frontend/src/api/axios.js.
From project root:
# Start backend
cd backend
uvicorn main:app --reload
# Start frontend
cd frontend
npm run devNo license file is currently defined for this repository.