Commit Graph

4 Commits

Author SHA1 Message Date
43a466f7e8 feat: map tab with Leaflet + seed-data.js refactor + Yelp proxy
- Add Leaflet map tab in public/index.html with CARTO dark tiles, category
  toggles, vote-count markers, and external venue search
- Extract seed data to seed-data.js with CATEGORY_META, buildSeedData(),
  mergeSeedData() helpers
- Refactor server.js: approvedOptionsWithVoteSummary(), buildRealtimeSnapshot(),
  createUserOption() helpers; Yelp API proxy at /api/yelp; /api/budgets endpoint
- Extract inline seed data from server.js to seed-data.js module
- Add budgetScenarios and priceUpdatedAt to realtime snapshot
2026-04-29 22:16:47 -07:00
a6e07258c6 [#6] Add admin panel at /admin
- Password-protected (cabo2026) admin page
- View/approve/reject pending options
- Delete any option
- Toggle polls open/closed
- Live stats: voters, options, votes, pending count
- Add DELETE /api/options/:id endpoint
- Add option_deleted WebSocket broadcast
2026-04-28 21:42:41 -07:00
6f4167e7ab [#5] Add results leaderboard tab
- 6th tab (🏆 Results) shows ranked results across all categories
- Medal icons 🥇🥈🥉 for top 3 per category
- Percentage bars with category colors
- Accessible without voter name via ?view=results URL
- Shareable link: no modal, shows live results
2026-04-28 21:40:54 -07:00
6ed5f360ac Initial commit: Cabo Bachelor Party voting app
- Node.js/Express + WebSocket real-time voting
- Hotel, Golf, Nightlife, Excursion, Itinerary categories
- Seed data with 20+ Cabo venues and 3 itineraries
- Gitea issues: #1-16 for UI/UX improvements
2026-04-28 20:55:42 -07:00