How alexporma1406-cell/bodega_inteligente works
Bodega Inteligente is a Flask-based warehouse inventory system used by staff over a local network. The principal workflow is to sign in, view categorized stock, and record receipts or withdrawals; movement history supports audit and consumption reporting. Separate console workflows create users, configure and verify MySQL, and prepare or activate a parallel catalog database. The excerpts show only parts of the web application, so unsampled reporting and template interactions are included only where README capabilities support them; uncertain internal links are omitted.
Main entry points: bodega_inteligente.sql MySQL database · app_bodega.py Flask application · configurar_bodega.py App configuration · recrear_base_bodega.py Parallel database prep
Components 17
Web application
- Flask application
app_bodega.py - Web screens
templates
Inventory workflows
- Product catalog
catalogo_bodega.py - Stock movements
app_bodega.py - Audit and consumption
app_bodega.py
Persistence
- MySQL database
bodega_inteligente.sql - Stock trigger
bodega_inteligente.sql
Administration
- Database settings
database_settings.py - App configuration
configurar_bodega.py - User creation
crear_usuario.py - Database verification
verificar_bodega.py - Trigger repair
reparar_trigger.py - Reference migration
migrar_consumo_referencia.py - Permission repair
reparar_permisos.py - Parallel database prep
recrear_base_bodega.py - Database activation
activar_base_paralela.py
Other components
- Warehouse staff
Connections 19
- Warehouse staff → Flask application: uses
README.md - Flask application → Web screens: renders
app_bodega.py - Flask application → Product catalog: uses categories
app_bodega.py - Flask application → Stock movements: records
README.md - Flask application → Audit and consumption: shows reports
README.md - Flask application → MySQL database: reads and writes
README.md - Stock movements → MySQL database: stores history
README.md - Stock trigger → MySQL database: updates stock
README.md - App configuration → Database settings: uses database name
configurar_bodega.py - App configuration → MySQL database: creates app account
configurar_bodega.py - User creation → MySQL database: inserts account
crear_usuario.py - Database verification → MySQL database: checks schema and data
verificar_bodega.py - Trigger repair → MySQL database: installs trigger
reparar_trigger.py - Reference migration → MySQL database: adds reference field
migrar_consumo_referencia.py - Permission repair → MySQL database: grants permissions
reparar_permisos.py - Parallel database prep → Product catalog: builds catalog
recrear_base_bodega.py - Parallel database prep → MySQL database: creates parallel database
README.md - Database activation → Database verification: runs verification
activar_base_paralela.py - Database activation → MySQL database: promotes database
README.md