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.

This guide walks you through setting up the Rendón Burgers application on your local machine. You will need Python 3.8 or later, pip, and a MongoDB Atlas account with a cluster already created.

Steps

1

Clone the repository

Download the source code from GitHub:
git clone https://github.com/EduCabrera-k/Menu_Hamburguesas
cd Menu_Hamburguesas
2

Install dependencies

Install the required Python packages from requirements.txt:
pip install -r requirements.txt
This installs the following packages:
PackagePurpose
flaskWeb framework and routing
pymongoMongoDB driver
dnspythonRequired for mongodb+srv:// URIs
gunicornProduction WSGI server
3

Configure your MongoDB Atlas connection

Open app.py and replace the placeholder value of MONGO_URI with your Atlas connection string:
MONGO_URI = "mongodb+srv://<user>:<password>@<cluster>/rendon_burger_db?appName=<app>"
client = MongoClient(MONGO_URI)
db = client['rendon_burger_db']
The application uses three collections inside rendon_burger_db: pedidos_activos, historial_ventas, and inventario_stock. These are created automatically on first use if they do not exist.
4

Start the development server

Run the Flask development server:
python app.py
Flask starts on port 5000 with debug mode enabled. You will see output similar to:
* Running on http://127.0.0.1:5000
* Debug mode: on
5

Open the application

Navigate to http://localhost:5000 in your browser. You should see the customer-facing menu with items organized by category.
The application has three views you can access directly:
  • / — Customer menu (order placement)
  • /cocina — Kitchen dashboard (order queue management)
  • /reporte — Daily sales report
For production use, replace python app.py with Gunicorn:
gunicorn app:app
Gunicorn is a production-grade WSGI server that handles concurrent requests more reliably than the Flask development server. See the deployment guide for full configuration options.

Build docs developers (and LLMs) love