XMonitor is a unified, AI-powered safety monitoring platform designed to revolutionize emergency response in Nigeria through real-time detection and intelligent alerts.
# XMonitor - Real-Time AI Safety Platform
XMonitor is a unified, AI-powered safety monitoring platform designed to revolutionize emergency response in Nigeria through real-time detection and intelligent alerts.
## π― Features
- **Real-time Monitoring Dashboard** - Live system status with heartbeat animations
- **Live Feed** - Camera/sensor monitoring with AI detection overlays
- **Smart Alerts** - Expandable alert cards with action tracking
- **System Logs** - Timeline view with performance metrics
- **Mobile-First Design** - Optimized for mobile with bottom navigation
- **Dark Theme** - Professional monitoring interface
## π Getting Started
### Prerequisites
- Node.js (v16+)
- npm or yarn
### Installation
```bash
# Install dependencies
npm install
# Start development server
npm run dev
```
Open
localhost
## π Project Structure
```
xmonitor-ui/
βββ src/
β βββ components/
β β βββ MonitorLayout.jsx # Main layout with navigation
β β βββ MonitorLayout.css
β βββ pages/monitor/
β β βββ MonitorDashboard.jsx # System overview
β β βββ LiveMonitor.jsx # Live feed
β β βββ Alerts.jsx # Alert management
β β βββ Logs.jsx # System logs
β βββ data/
β β βββ monitorData.js # Mock data
β βββ styles/
β β βββ global.css # Global styles
β βββ App.jsx
β βββ main.jsx
βββ PROBLEM_STATEMENT.md
βββ package.json
```
## π¨ Design System
**Brand Colors:**
- Primary: `#4CAF50` (XMonitor Green)
- Dark BG: `#0A0E1A`
- Accent: `#66BB6A`
**Features:**
- Mobile-first responsive design
- Smooth animations and transitions
- Accessible with ARIA labels
- Dark theme optimized for monitoring
## π± Navigation
- **Dashboard** - System status and quick stats
- **Live** - Real-time monitoring feed
- **Alerts** - Active and resolved incidents
- **Logs** - Event timeline and metrics
## π οΈ Technologies
- React 18
- React Router v6
- Lucide React (icons)
- date-fns
- Vite
## π License β¦