1.2 KiB
1.2 KiB
OTA Fleet Dashboard
The management interface for the OTA Fleet System. Built with Next.js to provide real-time visibility and control over the fleet.
Tech Stack
- Next.js: React framework for production.
- Tailwind CSS: Utility-first CSS framework for styling.
- Bun: Fast JavaScript runtime and package manager.
- Lucide React: Icon set.
Features
- Fleet Overview:
- Grouped view of all vehicles.
- Real-time status tracking (Online/Offline) with 5s timeout logic.
- Version distribution stats per group.
- Collapsible groups for easier navigation.
- Group Manager: Create groups and assign vehicles via a modal interface.
- Update Manager: Upload firmware (
.binfiles) and deploy them to targets.
Getting Started
-
Install Dependencies:
bun install -
Run Development Server:
bun run devOpen http://localhost:3000 in your browser.
Configuration
- API Proxy: Requests to
/api/*are forwarded to the backend (checknext.config.tsor manually configured inlib/api.tsif using direct URL). Currently,lib/api.tspoints tohttp://localhost:5000.