How thenabinamallik/cubesat-sensor-fusion-dashboard works
This is a CubeSat sensor-monitoring dashboard. A browser loads the React app; its dashboard polls a local sensor-data endpoint, retains up to 30 recent readings, and presents them as status, charts, a data log, satellite orientation, and location. The frontend flow and component links are visible in the excerpts and source index. Backend files are present, but the supplied evidence does not establish their responsibilities or how they serve the endpoint, so they are not connected to it.
Main entry points: Index.tsx Dashboard Poller · App.tsx App Router · main.tsx React Entry · SensorCharts.tsx Sensor Charts
Components 19
Dashboard
- React Entry
src/main.tsx - App Router
src/App.tsx - Dashboard Poller
src/pages/Index.tsx - Sensor Data Type
src/types/sensorData.ts
Sensor Views
- Status Header
src/components/DashboardHeader.tsx - Sensor Charts
src/components/SensorCharts.tsx - Sensor Log
src/components/SensorDataTable.tsx - Satellite Model
src/components/SatelliteModel.tsx - Satellite Location
src/components/SatelliteLocation.tsx
UI Primitives
- Card Primitive
src/components/ui/card.tsx - Chart Primitive
src/components/ui/chart.tsx - Table Primitive
src/components/ui/table.tsx - Toast System
src/hooks/use-toast.ts - Toast Renderer
src/components/ui/toaster.tsx - Sonner Notices
src/components/ui/sonner.tsx
Backend Files
- Python Backend
backend/app.py - Node Backend
backend/server.js
Other components
- Browser User
- Sensor API
Connections 15
- Browser User → React Entry: opens app
src/main.tsx - React Entry → App Router: renders
src/main.tsx - App Router → Dashboard Poller: routes to
src/App.tsx - Dashboard Poller → Sensor API: polls readings
src/pages/Index.tsx - Dashboard Poller → Status Header: renders
src/pages/Index.tsx - Dashboard Poller → Sensor Charts: renders
src/pages/Index.tsx - Dashboard Poller → Sensor Log: renders
src/pages/Index.tsx - Dashboard Poller → Satellite Model: renders
src/pages/Index.tsx - Dashboard Poller → Satellite Location: renders
src/pages/Index.tsx - Dashboard Poller → Card Primitive: uses
src/pages/Index.tsx - Sensor Charts → Chart Primitive: uses
src/components/SensorCharts.tsx - Sensor Log → Table Primitive: uses
src/components/SensorDataTable.tsx - App Router → Toast Renderer: renders
src/App.tsx - App Router → Sonner Notices: renders
src/App.tsx - Toast Renderer → Toast System: reads toast state
src/components/ui/toaster.tsx