Welcome to Dashboard Backus
Dashboard Backus is a real-time truck management system designed for Backus plant yard operations. This quickstart guide will walk you through logging in and starting your first simulation session.This application uses Supabase for authentication and real-time data synchronization. Make sure you have valid credentials before proceeding.
Prerequisites
Before you begin, ensure you have:- A valid Backus email account (
[email protected]) - Your assigned password/PIN
- One of the following user roles:
- Admin (👑 Administrador) — Full access to configure traffic light timers
- Client (👁 Cliente) — Monitoring view with fixed timers
Login Flow
Access the Login Screen
When you first open Dashboard Backus, you’ll be greeted with the login modal. The interface displays the Backus logo and a clean authentication form.
Enter Your Credentials
Fill in your email and password:
- Email: Your Backus company email
- Password: Your assigned PIN (max 50 characters)
The system uses MD5 hashing to securely verify your credentials against the Supabase
usuarios table.Your First Simulation Session
Once logged in, you’ll see the main SimuladorMapa interface with three key sections:1. Header (Top Section)
Displays:- Current user name and role
- Dark mode toggle
- Help mode button
- Configuration access (Admin only)
- Logout button
2. Interactive Map (Center)
The satellite view of the Backus plant yard with:- Truck Queue (bottom): Cards showing trucks waiting to be assigned
- Bay Overlays: Mapped locations where trucks can be placed via drag & drop
- Central Dashboard Panels: Three floating panels showing real-time metrics
3. Real-Time Dashboard Panels
Three central panels display critical metrics:Panel 1: Priority Unit
Shows the truck with the longest wait timePanel 2: Shift Count
Units attended per shift (T1: 07:00-15:00, T2: 15:00-23:00, T3: 23:00-07:00)Panel 3: Average Net Time
Average time trucks spend in the yard (excluding incident time)Traffic Light System
Trucks in the queue display color-coded alerts based on wait time:Drag & Drop Operations
Assigning a Truck to a Bay
- Click and drag a truck card from the bottom queue
- Drop it onto a compatible bay overlay on the map
- The system automatically:
- Updates
bahia_actualin the database - Sets
estadoto “Cargando” or “Descargando” - Triggers real-time updates across all connected clients
- Updates
Marking a Truck as Complete
Click the “Marcar Salida” (Mark Exit) button on a truck card to:- Record the exit time (
hora_salida) - Change status to “Finalizado” (Completed)
- Remove the truck from active monitoring
Managing Incidents
The incident system allows you to track delays and bottlenecks:Opening an Incident
Closing an Incident
Next Steps
Installation Guide
Set up Dashboard Backus locally for development
Configuration
Learn about environment variables and Supabase setup
API Reference
Explore all available functions and types
Bay Configuration
Customize bay locations and truck compatibility
Troubleshooting
Login Failed
- Verify your email is lowercase and properly formatted
- Ensure your account is marked as
activo: truein the database - Check that your password matches the MD5 hash in Supabase
Trucks Not Loading
- Confirm your
.envfile has valid Supabase credentials - Check browser console for connection errors
- Verify the
viajes_camionestable has rows withestado = 'En cola'
Real-Time Updates Not Working
- Ensure Supabase Realtime is enabled for your tables
- Check that your Supabase project has sufficient quota
- Verify Row Level Security (RLS) policies allow reads
