How duonghuuthanh/it2402saleapp works
This is a small Flask sales-catalog app. A visitor opens the catalog, where the app builds an in-memory product list, applies optional name and category filters, and renders the results. It also serves login and registration pages and provides shared category data through a context processor. The HTML files are listed in the tree, but their contents were not sampled, so template composition and use of the shared category data are not mapped.
Main entry points: index.py Catalog route · index.html Catalog page · login.html Login page · register.html Registration page
Components 12
Flask application
- Catalog route
saleappv1/eapp/index.py - Product filtering
saleappv1/eapp/index.py - Category context
saleappv1/eapp/index.py - Login route
saleappv1/eapp/index.py - Registration route
saleappv1/eapp/index.py
HTML views
- Catalog page
saleappv1/eapp/templates/index.html - Login page
saleappv1/eapp/templates/login.html - Registration page
saleappv1/eapp/templates/register.html - Base layout
saleappv1/eapp/templates/layout/base.html - Header
saleappv1/eapp/templates/layout/header.html - Footer
saleappv1/eapp/templates/layout/footer.html
Other components
- Visitor
Connections 7
- Visitor → Catalog route: requests
saleappv1/eapp/index.py - Catalog route → Product filtering: filters
saleappv1/eapp/index.py - Catalog route → Catalog page: renders
saleappv1/eapp/index.py - Visitor → Login route: requests
saleappv1/eapp/index.py - Login route → Login page: renders
saleappv1/eapp/index.py - Visitor → Registration route: requests
saleappv1/eapp/index.py - Registration route → Registration page: renders
saleappv1/eapp/index.py