Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/EduCabrera-k/Menu_Hamburguesas/llms.txt

Use this file to discover all available pages before exploring further.

The customer-facing menu is served at / and is the primary interface customers use to browse available items and compose an order. Items are organized into three categories — hamburguesas, bebidas, and desayunos — and each card displays a photo, the item name, a short description, and the price in Mexican pesos (MXN). Customers add items to their cart by clicking the + Agregar button on any card.

Categories

The menu is divided into three sections. Toggle between them using the category buttons at the top of the page:
  • Hamburguesas — Burgers and sides
  • Bebidas — Drinks
  • Desayunos — Breakfast items
Only one category is visible at a time. Click Desayunos, Hamburguesas, or Bebidas at the top of the page to switch between them.

Hamburguesas

IDNamePriceDescription
1Tradicional$75Carne de la casa, jamón, queso, tocino y vegetales.
2Tradicional Doble$120Doble carne, doble jamón, queso y tocino.
3Arrachera$100Carne de arrachera, jamón, queso, tocino y vegetales.
4Crunchy$95Pollo tender, jamón, queso, tocino y vegetales.
5Crunchy Doble$140Doble pollo tender, jamón, queso y tocino.
6Crunchy BBQ$105Pollo tender con aderezo BBQ.
7Crunchy Búfalo$105Pollo tender con aderezo búfalo.
8Ranchera$140Carne, jamón, queso, tocino, chorizo y champiñones.
9Suprema$130Carne, jamón, queso, tocino, champiñones y queso fundido.
10Magnum$160Carne, doble jamón, queso, tocino, arrachera y chorizo.
11Orden de Papas$50Papas a la francesa con crema de ajo.

Bebidas

IDNamePriceDescription
12Coca Cola 600ml$20Refresco de 600ml.
13Coca Cola 1 Litro$30Refresco en botella de 1L.
14Jamaica Avia$20Jamaica marca Avia.
15Té Reca$20Té marca Reca.
16Horchata Avia$20Horchata marca Avia.
17Limonada Avia$20Limonada marca Avia.
18Naranjada Avia$25Naranjada marca Avia.

Desayunos

IDNamePriceDescription
19Tranca de Pierna$45Tranca de pierna estilo casero.
20Orden 3 Hot Cakes$45Hot cakes con miel y mantequilla.
21Hot Dog$20Hot dog clásico con aderezos.
22Tranca de Pollo$45Tranca de pollo deshebrado.
23Trancas de Tender$45Trancas de pollo tender crujiente.
24Orden de 3 Burritas$30Burritas de guisado variado.
25Orden de 4 Flautas$45Flautas doradas de pollo.
26Tostadas de Pollo$20Tostada individual de pollo.

Out-of-stock items

When an item is unavailable, the menu updates automatically to reflect its status:
  • The item card becomes semi-transparent (opacity-50).
  • The + Agregar button is hidden.
  • An Agotado badge appears on the card.
Out-of-stock items cannot be added to the cart.

Real-time stock sync

The menu polls the /api/stock endpoint every 10 seconds to keep availability up to date without requiring a page refresh. The stock check runs in the background using setInterval:
setInterval(() => {
    fetch('/api/stock').then(res => res.json()).then(inv => {
        document.querySelectorAll('.btn-agregar').forEach(btn => {
            const id = btn.getAttribute('data-product-id');
            const card = btn.closest('.card');
            if (inv[id] === false) {
                btn.classList.add('d-none');
                card.classList.add('opacity-50');
            } else {
                btn.classList.remove('d-none');
                card.classList.remove('opacity-50');
            }
        });
    });
}, 10000);
The response from /api/stock is a JSON object keyed by item ID. A value of false means the item is out of stock; anything truthy means it is available. Card state is updated immediately after each poll.
Stock availability is reflected in the UI automatically. You do not need to reload the page to see changes — the menu will update within 10 seconds of a stock change.

Build docs developers (and LLMs) love