feat: Fix nutrition service and add location-based alerts
All checks were successful
continuous-integration/drone/push Build is passing
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:
16
run_frontend.sh
Executable file
16
run_frontend.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Запуск простого HTTP сервера для фронтенда
|
||||
|
||||
PORT=8888
|
||||
|
||||
echo "🌐 Запуск веб-сервера на порту $PORT..."
|
||||
echo "📝 Открыте браузер и перейдите на: http://localhost:$PORT/frontend_test.html"
|
||||
echo ""
|
||||
echo "Для остановки сервера нажмите Ctrl+C"
|
||||
echo ""
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Python 3
|
||||
python3 -m http.server $PORT --bind 127.0.0.1
|
||||
Reference in New Issue
Block a user