RoadWatch
Validation‑first reporting for safer streets
Created on 30th December 2025
•
RoadWatch
Validation‑first reporting for safer streets
The problem RoadWatch solves
🧩 The Problem It Solves
Road infrastructure issues like potholes are often reported inconsistently, with inaccurate locations, duplicate complaints, or missing evidence. This leads to unreliable data, delayed action, and poor visibility into real road conditions. Traditional reporting methods focus on collecting more complaints rather than improving data quality, making it difficult to identify genuine and unresolved issues.
RoadWatch addresses this problem by making pothole reporting accurate, verifiable, and safer for both users and evaluators.
✅ How RoadWatch Helps
- Accurate Reporting: Uses GPS‑verified locations to ensure road issues are mapped precisely.
- Evidence‑Based Submissions: Mandatory photo uploads reduce false or unclear reports.
- Duplicate Prevention: Backend validation blocks repeated reports of the same issue within a defined radius.
- Improved Safety: Helps users identify hazardous road sections more reliably.
- Better Decision‑Making: Clean, non‑redundant data makes evaluation and prioritization easier.
🚦 What People Can Use It For
- Citizens can quickly and safely report potholes using their smartphones.
- Users can view all reported issues on a single interactive map for better awareness.
- Judges or evaluators can easily assess impact through structured and validated data.
- Teams and authorities can focus on unresolved issues instead of repeated complaints.
RoadWatch simplifies civic reporting by prioritizing accuracy, validation, and data reliability over volume.
Challenges we ran into
🚧 Challenges I Ran Into
1. Maintaining a Transparent Commit History
Since hackathon judges evaluate Git activity, there was a risk of the project appearing as a single large code dump.
How I solved it:
Using Kiro IDE, I followed a disciplined workflow where commits were automated and structured after roughly every small logical change (around 20 lines of code). After every few commits, the code was pushed and deployed. This ensured transparency, traceability, and a clean development timeline.
2. Managing Frequent Merge Conflicts
Switching between devices and making rapid changes caused unfinished merges and Git conflicts.
How I solved it:
I resolved pending merges properly, reset local branches when needed, and adopted smaller, frequent commits to reduce conflict complexity.
3. Element Type Is Invalid (React Undefined Component Error)
The application crashed due to incorrect component imports caused by mixing default and named exports.
How I solved it:
I reviewed each component’s export style and corrected import statements to ensure consistency across the project.
4. Module Not Found Errors
Several components failed to load due to missing dependencies or incorrect import paths.
How I solved it:
I carefully installed required packages, fixed relative paths, and ensured consistent file naming to resolve these issues.
5. Environment Variable Misconfiguration
Incorrect or missing environment variables caused API and database connection failures.
How I solved it:
I standardized environment variable usage, separated public and private keys correctly, and validated configurations before deployment.
6. Google Maps Not Rendering Properly
Maps failed to load due to API key restrictions and script loading issues.
How I solved it:
I corrected API key permissions, ensured proper script loading, and verified map initialization logic.
7. Handling Inaccurate GPS Location Data
GPS readings were sometimes inaccurate, especially indoors or in dense areas.
How I solved it:
I enforced a GPS accuracy threshold and blocked submissions until acceptable accuracy was achieved.
8. Preventing Duplicate Pothole Reports
Multiple users could report the same pothole, cluttering the dataset.
How I solved it:
I implemented backend‑level duplicate detection to block reports within a defined radius of existing active issues.
9. Coordinating Frontend and Backend Validation
Frontend and backend validations were initially inconsistent, causing edge‑case failures.
How I solved it:
I aligned validation logic on both sides and ensured backend validation remained the final authority.
10. Deployment Failures on First Attempt
Early deployments failed due to missing environment variables and build misconfigurations.
How I solved it:
I tested all services locally, validated environment setups, and deployed incrementally to avoid cascading failures.
11. Integrating Multiple Services Under Time Pressure
The project involved frontend, backend APIs, database, maps, AI service, and deployment pipelines.
How I solved it:
I integrated services one at a time, verified each step independently, and used clear error logging to isolate issues quickly.
12. UI Breakage Due to Rapid Styling Changes
Frequent UI changes caused layout and responsiveness issues.
How I solved it:
I reused components, avoided unnecessary re‑styling, and tested layouts across screen sizes incrementally.
13. AI Service Stability
The AI service worked locally but faced reliability issues during deployment.
How I solved it:
I tested the service thoroughly locally and then deployed it on Render, ensuring stable access for evaluation.
14. Making the Project Easy for Judges to Evaluate
A complex project can be hard to understand quickly during judging.
How I solved it:
I built a dedicated Impact page, maintained clear documentation, and ensured features were easy to verify through the UI.
15. Balancing Feature Development vs Stability
There was constant pressure to add more features within limited time.
How I solved it:
I prioritized core functionality, validation systems, and reliability over optional enhancements.
This project reinforced the importance of disciplined version control, validation‑first design, and structured development workflows. Using Kiro IDE for organized commits, planning, and iteration helped maintain clarity and credibility throughout the hackathon.
Tracks Applied (2)
Best Innovation
AWS
AWS
