How sm4th13/fleuropa works
Fleuropa is a Flask flower-sales site. Customers browse bouquets and shops, manage a session-based basket, and reach a checkout confirmation flow; account registration and sign-in are also supported. The routes in main.py coordinate database access in db.py and render pages from templates/. The README describes stock availability and ordering as product goals, but the shown checkout handler does not persist an order, and the excerpts do not show stock updates. The graph reflects shown calls and documented presentation links; it omits unverified internal details.
Main entry points: main.py Flask routes · db.py Data access · templates Page templates · style.css Stylesheets
Components 11
Web application
- Flask routes
main.py
Shopping flows
- Bouquet catalog
main.py - Shop directory
main.py - Session basket
main.py - Checkout flow
main.py
Customer accounts
- Account flows
main.py
Persistence and presentation
- Data access
db.py - PostgreSQL
- Page templates
templates - Stylesheets
style.css
Other components
- Customer
Connections 14
- Customer → Flask routes: sends requests
README.md - Flask routes → Bouquet catalog: routes to
main.py - Flask routes → Shop directory: routes to
main.py - Flask routes → Session basket: routes to
main.py - Flask routes → Checkout flow: routes to
main.py - Flask routes → Account flows: routes to
main.py - Bouquet catalog → Data access: fetches bouquets
main.py - Shop directory → Data access: fetches shops
main.py - Session basket → Data access: fetches details
main.py - Checkout flow → Data access: fetches customer data
main.py - Account flows → Data access: reads and writes
main.py - Data access → PostgreSQL: queries
db.py - Flask routes → Page templates: renders pages
main.py - Page templates → Stylesheets: uses styling
README.md