How danamos-star/eco_store works
EcoStore is a Flask e-commerce app with a customer storefront and a password-protected seller dashboard. Customers browse, search, and filter a Firestore-backed catalog, build a client-side basket, then submit checkout to create a Stripe Checkout session. Sellers authenticate before managing product metadata and uploaded images. The main implementation is concentrated in app.py, with both storefront experiences in templates/index.html. README documents the UI capabilities and cloud services; sampled code confirms the server-side calls and rendering, but not the template’s internal behavior.
Main entry points: index.html Storefront and dashboard UI · app.py Product management
Components 9
Storefront experiences
- Storefront and dashboard UI
templates/index.html
Flask application
- Catalog browsing
app.py - Seller authentication
app.py - Product management
app.py - Checkout handler
app.py
Cloud services
- Product metadata
- Product images
- Stripe Checkout
Other components
- Web browser
Connections 12
- Web browser → Storefront and dashboard UI: uses
README.md - Catalog browsing → Product metadata: reads catalog
app.py - Catalog browsing → Storefront and dashboard UI: renders
app.py - Storefront and dashboard UI → Catalog browsing: requests catalog
README.md - Storefront and dashboard UI → Seller authentication: submits login
README.md - Storefront and dashboard UI → Product management: submits changes
README.md - Seller authentication → Storefront and dashboard UI: redirects
app.py - Product management → Product metadata: reads and writes
app.py - Product management → Product images: uploads and deletes
app.py - Storefront and dashboard UI → Checkout handler: submits order
README.md - Checkout handler → Stripe Checkout: creates session
app.py - Checkout handler → Web browser: redirects
app.py