How wanabro227/lab_dashboard works
LabDashboard is a React interface for monitoring atmospheric telemetry from an ESP32 via Firebase Realtime Database. The user-facing flow subscribes to readings, orders them newest-first, and presents device status, the latest sample, and a load-more history table. The README provides no additional product capabilities, and the supplied excerpts do not show sensor-side ingestion; the external device-to-database link is therefore shown as unverified.
Main entry points: Dashboard.jsx Dashboard controller · index.js React entry · App.js App shell · firebase.js Firebase client
Components 11
App runtime
- React entry
src/index.js - App shell
src/App.js
Telemetry dashboard
- Dashboard controller
src/components/Dashboard.jsx - Connection header
src/components/Header.jsx - Device status
src/components/DeviceStatus.jsx - Current reading
src/components/CurrentReading.jsx - Reading history
src/components/HistoryTable.jsx
Realtime data
- Firebase client
src/firebase.js - Realtime Database
Other components
- Dashboard user
- ESP32 sensor
Connections 11
- Dashboard user → React entry: opens dashboard
- React entry → App shell: renders
src/index.js - App shell → Dashboard controller: renders
src/App.js - Dashboard controller → Connection header: renders
src/components/Dashboard.jsx - Dashboard controller → Device status: renders
src/components/Dashboard.jsx - Dashboard controller → Current reading: renders
src/components/Dashboard.jsx - Dashboard controller → Reading history: renders
src/components/Dashboard.jsx - Dashboard controller → Firebase client: uses client
src/components/Dashboard.jsx - Firebase client → Realtime Database: initializes
src/firebase.js - Dashboard controller → Realtime Database: subscribes readings
src/components/Dashboard.jsx - ESP32 sensor → Realtime Database: sends telemetry