Feat/real world market locations#77
Conversation
|
@Aharshi3614 is attempting to deploy a commit to the karan3431's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
🎉 Thank you for your Pull Request! We're thrilled to have your contribution to FreshScan AI. Before we review, please make sure you have:
A maintainer will review your code as soon as possible! |
|
Can you just upload a ss or video to show this feature in working state to make it merge shortly as i am tired it takes 4+ hr to debug and settle the issue of the onnx update today. Dont forget to pull the latest changes. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
pull the latest changes and try to fix the backend lint test, if not dont take the pressure much i will be checking it tonight. |
|
The failing job is the Lint step in the CI workflow. The error shows ESLint found 2 linting errors:
Or run this command locally to identify and fix the issues: npm run lint -- --fix |

Closes #75
What this does
Adds a new
/api/v1/maps/markets/liveendpoint that queries the OpenStreetMapOverpass API to fetch real fish markets, seafood shops, and marketplaces near
a user's GPS location.
New endpoint
GET /api/v1/maps/markets/live?lat={lat}&lng={lng}&radius={meters}
Response:
{
"success": true,
"source": "openstreetmap",
"count": 3,
"markets": [
{ "id": 123, "name": "Fish Market", "lat": 12.34, "lng": 56.78, "vendors": 1, "source": "openstreetmap" }
]
}
Implementation
backend/markets.pywith Overpass API integrationWhy OpenStreetMap over Google Places