WatchPath is an AI-powered YouTube skill path discovery dashboard.
- Frontend: Next.js
- Backend: FastAPI
- Database: PostgreSQL + pgvector
- AI: OpenAI-only pipeline
start.batstart.bat behavior:
- Uses Docker + PostgreSQL on
localhost:5433when Docker daemon is available. - Falls back to SQLite (
backend/watchpath.db) automatically when Docker is unavailable. - Starts backend (
:8010) and frontend (:3001) in separate terminal windows. - Creates
backend/.env.bakbackup on each run before startup.
- Start PostgreSQL:
docker compose -f infra/docker-compose.yml up -d- Backend:
cd backend
pip install -e .
copy .env.example .env
uvicorn app.main:app --reload --port 8010Note: WatchPath Postgres is exposed on localhost:5433 to avoid conflicts with other local projects.
- Frontend:
cd frontend
npm install
npm run dev # serves on http://localhost:3001Base URL: http://localhost:8010/api/v1
For local development, call:
GET /api/v1/auth/google/callback?code=dev-code
Use the returned user_id as X-User-Id for authenticated routes.