#!/bin/bash # Zalo Monitor Run Script echo "🚀 Starting Zalo Monitor & Reporter..." # Check if node_modules exists if [ ! -d "node_modules" ]; then echo "📦 Dependencies not found. Installing..." npm install fi # Check if data directory exists if [ ! -d "data" ]; then echo "📁 Creating data directory..." mkdir -p data fi # Run the development server echo "🌐 Launching dashboard at http://localhost:3000" npm run dev