A web-based dashboard to view and analyze call logs and location tracking data from your Firebase database.
- Username:
Admin - Password:
Admin@8129 - Session management with localStorage
- View all call logs in a sortable table
- Display caller number, name, status, duration, and timestamp
- Real-time statistics (total calls, incoming, outgoing)
- Refresh functionality
- Responsive design
- Interactive map showing all location points
- Connected path showing movement over time
- Start point (green marker) and end point (red marker)
- Popup details for each location point
- Chronological path visualization
- Total calls count
- Incoming calls count
- Outgoing calls count
- Location points count
Edit config.js and update the Firebase credentials:
const FIREBASE_CONFIG = {
databaseURL: 'YOUR_FIREBASE_DATABASE_URL',
apiKey: 'YOUR_FIREBASE_API_KEY'
};Make sure your Firebase Realtime Database has the correct security rules. For testing, you can use:
{
"rules": {
".read": true,
".write": true
}
}cd web-dashboard
python -m http.server 8000Then open: http://localhost:8000
cd web-dashboard
npx http-server -p 8000Then open: http://localhost:8000
- Install "Live Server" extension in VS Code
- Right-click on
index.html - Select "Open with Live Server"
- Open the dashboard in your web browser
- Login with:
- Username:
Admin - Password:
Admin@8129
- Username:
- View your data in the two tabs
web-dashboard/
├── index.html # Main HTML file with UI
├── app.js # JavaScript application logic
├── config.js # Configuration file (Firebase credentials)
└── README.md # This file
- Caller Number: Phone number of the caller
- Caller Name: Contact name (if available)
- Call Status: Incoming (green), Outgoing (blue), Missed (red)
- Duration: Call duration in HH:MM:SS format
- Date & Time: Formatted timestamp
- Blue Line: Shows the path taken in chronological order
- Red Markers: Individual location points with details
- Green Marker: Starting point of the journey
- Red Marker: Ending point of the journey
- Popup Info: Coordinates, accuracy, and timestamp
- Check Firebase security rules
- Verify API key and database URL in
config.js - Check browser console for errors
- Ensure Firebase database has data
- Check internet connection (requires OpenStreetMap tiles)
- Verify location data has valid latitude/longitude values
- Check browser console for JavaScript errors
- Verify credentials in
config.js - Clear browser localStorage if needed
- Check for typos in username/password
- Use a local HTTP server (don't open HTML file directly)
- Check Firebase CORS settings if needed
- Change default login credentials for production use
- Implement proper Firebase authentication for production
- Use environment variables for sensitive configuration
- Consider implementing HTTPS for production deployment
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
- Bootstrap 5.1.3 (CSS framework)
- Leaflet 1.9.4 (Map library)
- OpenStreetMap (Map tiles)
All dependencies are loaded via CDN, no local installation required.