Implement Phase 2 Frontend with Ant Design and verify Data Ingestion

- Created `frontend/` React+Vite app using Ant Design (Dark Theme).
- Implemented `App.jsx` to display listening history and calculated "Vibes".
- Updated `backend/app/ingest.py` to fix ReccoBeats ID parsing.
- Updated `backend/app/schemas.py` to expose audio features to the API.
- Updated `README.md` with detailed Docker hosting instructions.
- Added `TODO.md` for Phase 3 roadmap.
- Cleaned up test scripts.
This commit is contained in:
google-labs-jules[bot]
2025-12-24 22:51:53 +00:00
parent f034b3eb43
commit 6e80e97960
21 changed files with 4726 additions and 43 deletions

View File

@@ -1,12 +1,21 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
# Proxy API requests to backend
location /api/ {
proxy_pass http://backend:8000/;
# 'backend' is the service name in docker-compose
# We strip the /api/ prefix if the backend doesn't expect it,
# but in this setup the backend routes are /history, /tracks etc.
# It's cleaner to keep /api prefix in frontend and rewrite here or configure backend to serve on /api
# For simplicity, let's proxy /api/ to /
rewrite ^/api/(.*) /$1 break;
proxy_pass http://backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}