feat: introduce PolyWeather web map API and frontend with integrated weather data collection and analysis.

This commit is contained in:
2569718930@qq.com
2026-03-09 04:41:24 +08:00
parent b53f1f74bd
commit d184bc323c
13 changed files with 1700 additions and 633 deletions
+7 -1
View File
@@ -18,6 +18,7 @@ Production URL:
- Vercel serves the web UI
- FastAPI on VPS serves API only
- The old FastAPI static website has been removed
- The production page shell is still the legacy dashboard embedded by `app/page.tsx`
Current request flow:
- Browser -> Vercel frontend
@@ -52,6 +53,11 @@ Thin BFF routes currently exposed by Next:
- `GET /api/city/[name]`
- `GET /api/history/[name]`
Current frontend behavior:
- `/` keeps the world overview layout
- City clicks stay inside the same layout and load the right-side panel
- Future forecast dates open a modal instead of mutating the base panel
## Vercel Deployment
1. Import the repo into Vercel
@@ -65,4 +71,4 @@ Thin BFF routes currently exposed by Next:
- The page shell currently embeds the legacy dashboard HTML from `public/legacy/index.html`
- If you change files under `public/static`, deploy to Vercel to make them live
Last updated: 2026-03-06
Last updated: 2026-03-09