How bryhanf/delusneakers works
DeluSneakers is a desktop sneaker storefront. A customer launches the app, browses or filters the catalog, opens a product, selects a size and quantity, and completes checkout; the app records the order and produces a receipt. Account views support profile, order history and payment-method history, while administrators manage products and size-level stock. The README documents these capabilities; the sampled sources show the main UI, database calls and account flow. Root-level modules appear to be a parallel legacy implementation, distinct from the ui/ application launched by main.py.
Main entry points: conexionDB.py Store operations · ui/GUI.py Catalog and filters · GUI.py Legacy storefront · vista_producto.py Product detail
Components 19
Storefront UI
- App startup
main.py - Catalog and filters
ui/GUI.py - Product images
assets/imgs
Commerce
- Product detail
ui/vista_producto.py - Cart and checkout
ui/vista_producto.py - Purchase receipt
ui/vista_producto.py - Product and stock editor
ui/editor_producto.py
Accounts
- Sign-in and registration
ui/usuarios_manager.py - Profile and order history
ui/vista_perfil.py
Persistence
- Store operations
database/conexionDB.py - PostgreSQL
- Database configuration
config.py
Legacy UI
- Legacy storefront
GUI.py - Legacy authentication
usuarios_manager.py - Legacy product views
vista_producto.py - Legacy product editor
editor_producto.py - Legacy catalog access
conexionDB.py
Other components
- Customer
- Administrator
Connections 24
- Customer → App startup: launches
README.md - Administrator → App startup: launches
README.md - App startup → Store operations: checks connection
main.py - App startup → Catalog and filters: starts app
main.py - Catalog and filters → Store operations: loads products
ui/GUI.py - Catalog and filters → Sign-in and registration: authenticates
ui/GUI.py - Catalog and filters → Product detail: opens detail
ui/GUI.py - Catalog and filters → Product and stock editor: opens editor
ui/GUI.py - Catalog and filters → Profile and order history: opens account
ui/GUI.py - Product detail → Store operations: loads size stock
ui/vista_producto.py - Product detail → Cart and checkout: adds selected item
ui/vista_producto.py - Cart and checkout → Store operations: records purchase
README.md - Cart and checkout → Purchase receipt: generates
README.md - Product and stock editor → Store operations: updates products
ui/editor_producto.py - Profile and order history → Store operations: reads and updates
ui/vista_perfil.py - Store operations → PostgreSQL: queries and writes
database/conexionDB.py - Store operations → Database configuration: reads URL
database/conexionDB.py - Product detail → Product images: resolves images
ui/vista_producto.py - Legacy storefront → Legacy authentication: authenticates
GUI.py - Legacy storefront → Legacy product views: opens product views
GUI.py - Legacy storefront → Legacy product editor: opens editor
GUI.py - Legacy storefront → Legacy catalog access: loads products
GUI.py - Legacy catalog access → Database configuration: reads URL
conexionDB.py - Legacy product views → Cart and checkout: similar flow