cd ai-rec/backend/back2
pip install -r requirements.txt
uvicorn saas_api:app --reloadThis runs the ML recommender API on http://localhost:8000
cd ai-rec/backend/back2
mlflow ui --backend-store-uri sqlite:///mlflow.db --default-artifact-root ./mlflow_artifactsThis runs MLflow UI on http://localhost:5000
cd ai-rec/backend/webhooks_services
npm install
node server.jsThis runs the webhook and app registration service on http://localhost:3001
cd ai-rec/frontend/s
npm install
npm run devThis runs the frontend on http://localhost:5173
cd ai-rec/backend/webhooks_services
node mock_webhook_server.jsThis runs a mock webhook listener on http://localhost:4000 to test webhook notifications
- Start all services in the order above
- Open http://localhost:5173 in your browser
- Go to the Webhook Dashboard tab
- Register a new app with:
- App Name: "My Music App" (or any name)
- Webhook URL: "http://localhost:4000/api/music"
- Copy the generated API Key
- Use the API Key in the external client or test with curl
- Open
xternal_client/index.htmlin a browser - Paste your API Key
- Enter a song title (e.g., "Fader")
- Enter the Project ID (e.g., 7)
- Click "Get Recommendations"
You should see recommendations and webhook notifications in the mock webhook server terminal!