How k2kumarit-boop/repo2 works
This small Flask plant-catalogue app serves a home page with featured plants, a full plant listing, and a contact form. Requests enter through Flask routes; each view renders its corresponding template. The contact view validates submitted fields and flashes a message or redirects after success. The source excerpt shows these route and rendering relationships; template internals and stylesheet wiring were not inspected.
Main entry points: app.py Flask app · home.html Home template · plants.html Plants template · contact.html Contact template
Components 8
Other components
- Visitor
- Flask app
app.py - Home view
app.py - Plant listing
app.py - Contact handler
app.py - Home template
templates/home.html - Plants template
templates/plants.html - Contact template
templates/contact.html
Connections 7
- Visitor → Flask app: sends requests
app.py - Flask app → Home view: dispatches
app.py - Flask app → Plant listing: dispatches
app.py - Flask app → Contact handler: dispatches
app.py - Home view → Home template: renders
app.py - Plant listing → Plants template: renders
app.py - Contact handler → Contact template: renders
app.py