This commit is contained in:
simva committed 2026-10-23 12:05:26 +09:00
commit d9ef64eafe
35 files changed
+4733

No files matched your search

Executable
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# FastAPI 백엔드와 Vue 프론트엔드 개발 서버를 함께 실행하는 스크립트
cleanup() {
echo -e "\n🛑 서버들을 종료합니다..."
kill $(jobs -p) 2>/dev/null
exit
}
trap cleanup SIGINT SIGTERM EXIT
echo "🚀 [1/2] FastAPI 백엔드 실행 중 (포트 8000)..."
./venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --reload &
sleep 1
echo "🎨 [2/2] Vite 프론트엔드 개발 서버 실행 중 (포트 5173)..."
cd frontend && npm run dev