Final Project for Course Data_Analysis
Đầu tiên tạo file .env và set biến GOOGLE_API_KEY = "your_google_api_key"
- Python >= 3.11.9
- pip
- (Khuyến nghị) Virtual environment (venv)
- node v22.14.0 (frontend)
- npm 11.2.0 (frontend)
git clone https://github.com/PhuocPhat1005/Advanced_Data_Analysis.git
cd advanced-data-analystpython -m venv venv
source venv/bin/activate # Linux/macOS
venv\\Scripts\\activate # Windowspip install -r requirements.txtnpm install
npm run buildstart_app.batchmod +x start_app.sh
start_app.shpython app.pyHoặc:
uvicorn app:app --reload --port 800Server mặc định sẽ chạy tại:
http://127.0.0.1:8000cd frontend
npm run build
npm run startUI Server mặc định sẽ chạy tại:
http://localhost:3000Tài liệu API tự động (Swagger):
http://127.0.0.1:8000/docs