How 2451052137kiet/it2402-bth1-sale works
This is a small Flask storefront demo. A visitor opens the catalog, where the app filters an in-memory product list by keyword and category before rendering the catalog page; the app also serves separate login and registration pages. Category choices are supplied through a context processor. The tree and excerpts show no persistence or separate business-service layer, and template internals were not sampled, so the graph limits UI relationships to templates explicitly named by the app.
Main entry points: index.py Flask app · index.html Catalog page · login.html Login page · reg.html Registration page
Components 5
Flask runtime
- Flask app
saleappv1/eapp/index.py
Page templates
- Catalog page
saleappv1/eapp/templates/index.html - Login page
saleappv1/eapp/templates/login.html - Registration page
saleappv1/eapp/templates/reg.html
Other components
- Visitor
Connections 4
- Visitor → Flask app: sends requests
saleappv1/eapp/index.py - Flask app → Catalog page: renders catalog
saleappv1/eapp/index.py - Flask app → Login page: renders login
saleappv1/eapp/index.py - Flask app → Registration page: renders registration
saleappv1/eapp/index.py