HexGrid-Goa
Track, verify, and reward real-world coastal clean
Created on 5th May 2026
•
HexGrid-Goa
Track, verify, and reward real-world coastal clean
The problem HexGrid-Goa solves
Beach cleanup efforts are often difficult to track, verify, and sustain. Volunteers may clean real locations, but there is usually no shared system to show which areas were cleaned, which still need action, and whether reported work was actually completed.
This leads to three major problems:
- low visibility of real cleanup progress
- low trust in submitted reports
- low long-term engagement from volunteers
HexGrid Goa solves this by turning coastal cleanup into a trackable, verifiable, and rewarding system.
It divides the coastline into a live hex-grid, lets users submit before/after scans from real locations, verifies activity through AI-assisted review with human fallback, and updates a shared public map. Contributors earn impact points, faction progress, and leaderboard recognition, making environmental action more transparent and engaging.
In short, HexGrid Goa helps answer:
What was actually cleaned, where, and can we trust it?
Challenges I ran into
One of the biggest challenges was making the product feel like a real live system instead of just a visual demo.
1. Keeping the map, scan result, and profile state in sync
When a cleanup was verified, the updated hex state, user impact points, and profile/leaderboard values did not always refresh together. This created trust issues in the core experience.
I solved this by tightening the state flow between the frontend and backend, reducing stale UI updates, and making sure verified actions return updated profile values immediately.
2. Routing and authentication edge cases after deployment
After deploying the frontend, refreshing nested routes like dashboard pages caused 404 issues, and Google OAuth redirects sometimes landed on the wrong route or local development URL.
I fixed this by:
- adding proper SPA rewrites for Vercel
- correcting Supabase redirect configuration
- improving auth bootstrapping so protected routes wait for session recovery before rendering
3. Making the map performant and stable
The live map was one of the hardest parts. I ran into flickering, unstable overlays, route-based re-renders, and heavy interactions while selecting or updating hexes.
I improved this by simplifying map behavior, reducing unnecessary re-renders, stabilizing tile/layer updates, and making the hero/dashboard map much lighter and more predictable.
4. Designing AI-assisted verification without breaking trust
I wanted AI to help verify cleanup submissions, but a fully automatic system can easily become unreliable or easy to exploit. I had to balance automation with credibility.
I handled this by using an AI-assisted approach with manual audit fallback, and by making sure unclear cases stay reviewable instead of pretending the system is always certain.
5. Deployment and environment configuration
Getting the full stack working across Vercel, Railway, and Supabase was another major hurdle. Small configuration mistakes in environment variables, auth callbacks, or API URLs caused major failures in production.
I worked through this by separating frontend and backend deployment clearly, fixing API base URL handling, and testing the production flow repeatedly until the major failures were removed.
Overall, the biggest challenge was not building individual screens — it was making the whole system behave consistently as one connected product.
Technologies used
