A live driver management dashboard with real-time map tracking, built with React.
- Live map with animated driver positions (updates every 2.5s)
- Driver list with search and status filtering
- Driver detail panel with status management
- Stats overview (active, in-ride, total rides, revenue)
npm install
npm startOpen http://localhost:3000.
git init
git add .
git commit -m "Initial commit: ZipDrive Ops dashboard"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/zipdrive-ops.git
git push -u origin main- Go to vercel.com and sign in with GitHub
- Click Add New → Project
- Import your
zipdrive-opsrepository - Vercel auto-detects Create React App — leave all settings as default
- Click Deploy
Your app will be live at https://zipdrive-ops.vercel.app (or similar).
Every git push to main triggers a new Vercel deployment automatically.
src/
components/
App.jsx # Root layout
Topbar.jsx # Header bar
Sidebar.jsx # Stats + driver list panel
DriverList.jsx # Searchable, filterable list
DriverAvatar.jsx # Initials avatar
StatusPill.jsx # Status badge
LiveMap.jsx # SVG map with driver markers
DriverDetailPanel.jsx# Click-to-expand driver info
data/
drivers.js # Seed data + constants
hooks/
useDrivers.js # Live position simulation + state