La Comanda is a full-stack PHP/MySQL application that streamlines order flow in a café or restaurant. A waiter takes the order at the table, items are automatically routed to the kitchen (food) or barista (drinks), and an admin monitors the entire operation in real time — all from any browser.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JAQA20/LaComanda/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Run La Comanda locally with Docker in under five minutes.
User Guide
Understand roles, order flow, table management, and the admin panel.
API Reference
Explore every internal REST endpoint with request/response details.
Deployment
Deploy with Docker Compose locally or push to Railway in minutes.
How it works
Set up the environment
Copy
.env.example to .env, fill in your database credentials, and configure the BASE_URL for your environment.Start the containers
Run
docker compose up --build. Docker starts Apache + PHP 8.2, MySQL 8, and seeds the initial database schema automatically.Log in with your role
Open
http://localhost:8080. Each user role — Admin, Waiter, Kitchen, Barista — lands on its own dedicated dashboard.Key features
Role-based access
Four roles — Admin, Waiter, Kitchen, Barista — each with a tailored interface and permissions enforced server-side.
Smart order routing
Orders are split automatically: café and beverage items go to the barista queue; all other food items go to the kitchen.
Live table map
A drag-and-drop layout editor lets admins design the seating floor plan. Table availability updates in real time.
Session monitoring
Admins can see every logged-in user, their current page, last activity time, and IP address from the dashboard.
Product catalog
Manage products and categories with icons, pricing, active/inactive toggles, and category-based routing rules.
Docker-first
One command spins up the full stack: Apache, PHP 8.2, and MySQL 8 — no XAMPP, no manual installs required.
Default test accounts
| Role | Password | |
|---|---|---|
| Admin | admin@proyecto.com | Admin123! |
| Waiter | mesero@proyecto.com | Mesero123! |
| Kitchen | cocina@proyecto.com | Cocina123! |
| Barista | barista@lacomanda.com | Barista123! |
Change all default passwords before deploying to a production environment.