feat: Fix nutrition service and add location-based alerts
All checks were successful
continuous-integration/drone/push Build is passing

Changes:
- Fix nutrition service: add is_active column and Pydantic validation for UUID/datetime
- Add location-based alerts feature: users can now see alerts within 1km radius
- Fix CORS and response serialization in nutrition service
- Add getCurrentLocation() and loadAlertsNearby() functions
- Improve UI for nearby alerts display with distance and response count
This commit is contained in:
2025-12-13 16:34:50 +09:00
parent 3050e084fa
commit cfc93cb99a
34 changed files with 7016 additions and 17 deletions

View File

@@ -418,6 +418,11 @@ async def delete_user_location(
return {"message": "Location deleted successfully"}
@app.get("/health")
async def health_simple():
"""Health check endpoint (simple)"""
return {"status": "healthy", "service": "location_service"}
@app.get("/api/v1/health")
async def health_check():