Monorepo with a Vite + React frontend and a FastAPI backend.
- Docker + Docker Compose
- Optional: Node.js 20+, Python 3.12 (for running locally without Docker)
make upBackend: http://localhost:8000 Frontend: http://localhost:5173
make migratemake seedmake downmake logsBackend:
cd backend
python -m venv .venv
. .venv/Scripts/activate
pip install -r requirements.txt -r requirements-dev.txt
uvicorn app.main:app --reloadCreate backend/.env from backend/.env.example and set:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETGOOGLE_REDIRECT_URI(default:http://localhost:8000/auth/google/callback)
OAuth endpoints:
GET /auth/google/loginreturns an authorization URLGET /auth/google/callback?code=...completes sign-in/sign-up and returns user payload
Frontend:
cd frontend
npm install
npm run devcd backend
pytest