summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend41
-rw-r--r--frontend/src/components/AlertPainel.jsx0
-rw-r--r--frontend/src/components/ChartWidget.jsx0
-rw-r--r--frontend/src/components/SensorGauge.jsx0
-rw-r--r--frontend/src/pages/Dashboard.jsx0
-rw-r--r--frontend/src/pages/History.jsx0
-rw-r--r--frontend/src/services/api.js0
7 files changed, 0 insertions, 41 deletions
diff --git a/frontend b/frontend
deleted file mode 100644
index ac66a0f..0000000
--- a/frontend
+++ /dev/null
@@ -1,41 +0,0 @@
-Estratégia de implementação Frontend/Backend para sistema de estação meteorológica com ESP32
-
-- Formato JSON padronizado (sugestão):
-{
- "station_id": "ESP32_001",
- "timestamp": 1697203200,
- "readings": {
- "temperature": 25.4,
- "humidity": 65.2,
- "pressure": 1013.25,
- "luminosity": 450,
- "wind_direction": 180,
- "wind_speed": 5.2
- }
-}
-
-
-- VISÃO CLIENT:
-info essenciais:
-- condições em tempo real:
- -> Temperatura
- -> Umidade
- -> Pressao atmosférica
- -> Luminosidade
- -> Velocidade e direção do vento
- -> ultima atualização
-
-- situação da estação
- -> online / offline
- -> bateria / alimentação
- -> qualidade sinal
- -> defeito em algum sensor
-
-- tendencia e previsão
- -> temperatura ta subindo ou caindo?
- -> pressão está subindo ou caindo?
- -> Grafico das ultimas horas
-
-- Recordes do dia, semana e mes
-
-
diff --git a/frontend/src/components/AlertPainel.jsx b/frontend/src/components/AlertPainel.jsx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/components/AlertPainel.jsx
diff --git a/frontend/src/components/ChartWidget.jsx b/frontend/src/components/ChartWidget.jsx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/components/ChartWidget.jsx
diff --git a/frontend/src/components/SensorGauge.jsx b/frontend/src/components/SensorGauge.jsx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/components/SensorGauge.jsx
diff --git a/frontend/src/pages/Dashboard.jsx b/frontend/src/pages/Dashboard.jsx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/pages/Dashboard.jsx
diff --git a/frontend/src/pages/History.jsx b/frontend/src/pages/History.jsx
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/pages/History.jsx
diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frontend/src/services/api.js