Skip to main content

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.

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.

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

1

Set up the environment

Copy .env.example to .env, fill in your database credentials, and configure the BASE_URL for your environment.
2

Start the containers

Run docker compose up --build. Docker starts Apache + PHP 8.2, MySQL 8, and seeds the initial database schema automatically.
3

Log in with your role

Open http://localhost:8080. Each user role — Admin, Waiter, Kitchen, Barista — lands on its own dedicated dashboard.
4

Take and track orders

A waiter selects a table, adds products from the catalog, and submits the order. Items are routed to the kitchen or barista queue instantly.

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

RoleEmailPassword
Adminadmin@proyecto.comAdmin123!
Waitermesero@proyecto.comMesero123!
Kitchencocina@proyecto.comCocina123!
Baristabarista@lacomanda.comBarista123!
Change all default passwords before deploying to a production environment.

Build docs developers (and LLMs) love