feat: add price history support
This commit is contained in:
@@ -16,6 +16,7 @@ node server.js
|
||||
- **Real-time WebSocket voting** — all clients update instantly
|
||||
- **5 categories** — Hotels, Golf, Nightlife, Excursions, Full Itineraries
|
||||
- **Budget planner tab** — quick compare for 8, 10, and 12 guys across Budget, Balanced, and Splurge tracks
|
||||
- **Price trend graphs** — each option shows a live line graph from price-watch automation runs
|
||||
- **Add suggestions** — anyone can propose new venues
|
||||
- **Admin approval** — pending options require approval before going live
|
||||
- **Responsive** — works on desktop and mobile
|
||||
@@ -24,6 +25,7 @@ node server.js
|
||||
|
||||
Votes are stored in `data/votes.json` (created on first run). Edit directly or use the admin panel.
|
||||
System seed data auto-refreshes researched package options and budget scenarios while preserving existing votes and user-added options.
|
||||
Price-watch automation runs append time-series snapshots in `price-watch/history.jsonl`, which the app turns into per-option trend lines.
|
||||
|
||||
For hosted deployments, set `DATA_DIR` or `DATA_FILE` so mutable vote data lives outside the Git checkout.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user