Plataforma web agrometeorologica para el reto DevIAthon UPEC. Lee SQL Server Insights en modo solo lectura y ofrece tres dashboards: cientifico, GAD/institucional y agricultor.
backend/ FastAPI, pyodbc, reglas agrometeorologicas
frontend/ React + Vite + TypeScript + ECharts
docs/ DER, contrato API, QA, pitch
cd C:\Users\andres\Documents\Deviathon\backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item .env.example .env
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
La aplicacion no usa datos mock en runtime. Si SQL Server no responde, el backend debe reportar error en lugar de mostrar datos inventados.
cd C:\Users\andres\Documents\Deviathon\frontend
npm install
npm run dev
Variables opcionales:
VITE_API_URL=http://localhost:8000/api
GET /api/healthGET /api/stationsGET /api/stations/{station_id}/latestGET /api/stations/{station_id}/seriesGET /api/alerts/currentGET /api/analytics/spray-windowGET /api/analytics/npkGET /api/export/series.csvAgroMetrIA no crea tablas, no altera relaciones fisicas y no escribe en SQL Server. Toda relacion se resuelve en backend sobre el modelo logico YDOC.
Plataforma web agrometeorologica para el reto DevIAthon UPEC. Lee SQL Server Insights en modo solo lectura y ofrece tres dashboards: cientifico, GAD/institucional y agricultor.
backend/ FastAPI, pyodbc, reglas agrometeorologicas
frontend/ React + Vite + TypeScript + ECharts
docs/ DER, contrato API, QA, pitch
cd C:\Users\andres\Documents\Deviathon\backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item .env.example .env
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
La aplicacion no usa datos mock en runtime. Si SQL Server no responde, el backend debe reportar error en lugar de mostrar datos inventados.
cd C:\Users\andres\Documents\Deviathon\frontend
npm install
npm run dev
Variables opcionales:
VITE_API_URL=http://localhost:8000/api
GET /api/healthGET /api/stationsGET /api/stations/{station_id}/latestGET /api/stations/{station_id}/seriesGET /api/alerts/currentGET /api/analytics/spray-windowGET /api/analytics/npkGET /api/export/series.csvAgroMetrIA no crea tablas, no altera relaciones fisicas y no escribe en SQL Server. Toda relacion se resuelve en backend sobre el modelo logico YDOC.