askchosmky / Makefile
mmoise00's picture
Replace Chainlit with Next.js RAG pipeline visualizer
28cf767
raw
history blame contribute delete
406 Bytes
.PHONY: backend frontend dev
# Start the FastAPI backend (port 8001)
backend:
.venv/bin/uvicorn backend.api:app --host 127.0.0.1 --port 8001 --reload
# Start the Next.js frontend (port 3000)
frontend:
cd frontend && npm run dev
# Start both in parallel (requires two terminal tabs, or use a tool like tmux)
dev:
@echo "Run in two separate terminals:"
@echo " make backend"
@echo " make frontend"