How dainerqm/viuk-ecommerce-platform works
VIUK is a Flask-based fashion storefront and administration system, with customer shopping and order handling alongside catalog, design-request, and employee-management capabilities. The main application is the server-side entry point; the sampled cart code indicates a customer checkout workflow, but its request endpoint is not shown. The source index confirms several email and PDF dependencies. Other capabilities are represented from the file tree; their internal routing and calls were not sampled, so those relationships are omitted. The SQLite database is present in the tree, but its runtime use is not established by the excerpts.
Main entry points: main.py Flask application · welcome_email_sender.py Welcome emails · email_config.py Email settings · invoice_emails.py Order emails
Components 21
Storefront
- Shop browsing
templates/shop.html - Cart checkout
static/js/cart.js - Collections
templates/collections.html - Design request
templates/design.html - Designers
templates/designers.html
Catalog and admin
- Catalog admin
static/js/gestion.js - Employee admin
static/js/admin.js - Coupon admin
templates/cupones.html - Login
templates/login.html
Application backend
- Flask application
main.py - SQLite database
instance/viuk.db
Email and documents
- Order emails
invoice_emails.py - Design emails
correos.py - Designer emails
correos_disenador.py - Welcome emails
welcome_email_sender.py - User PDF
pdf_generator.py - Welcome PDF
welcome_pdf_generator.py - Email settings
email_config.py
Other components
- Customer
- Admin user
- SMTP service
Connections 19
- Customer → Cart checkout: uses
- Customer → Shop browsing: browses
- Admin user → Catalog admin: manages catalog
- Admin user → Employee admin: manages staff
- Cart checkout → Flask application: submits order
- Flask application → Order emails: calls
main.py - Flask application → Design emails: calls
main.py - Flask application → Designer emails: calls
main.py - Flask application → Welcome emails: calls
main.py - Flask application → User PDF: calls
main.py - Order emails → Email settings: uses settings
invoice_emails.py - Design emails → Email settings: uses settings
correos.py - Designer emails → Email settings: uses settings
correos_disenador.py - Welcome emails → Email settings: uses settings
welcome_email_sender.py - Welcome emails → Welcome PDF: generates attachment
welcome_email_sender.py - Order emails → SMTP service: sends mail
invoice_emails.py - Design emails → SMTP service: sends mail
correos.py - Designer emails → SMTP service: sends mail
correos_disenador.py - Welcome emails → SMTP service: sends mail
welcome_email_sender.py