How azharnawaz1964/ecostore works
EcoStore is a Flask storefront with product browsing, admin login and catalog management, and Stripe checkout. Its main workflow is a customer browsing products and proceeding to payment; administrators can authenticate and add, edit, or delete products and images. Firestore holds product records, while Cloud Storage holds uploaded photos. The README also describes deployment to Cloud Run through GitHub Actions. The application source was excerpted; the template and deployment workflow are represented only where the README or application excerpt supports their role.
Main entry points: app.py Storefront Routes · deploy.yml GitHub Actions · index.html Storefront Template
Components 12
Storefront
- Storefront Routes
app.py - Storefront Template
templates/index.html - Checkout
app.py
Administration
- Admin Authentication
app.py - Catalog Management
app.py
Data and Payments
- Product Records
- Product Images
- Stripe Payments
Deployment
- GitHub Actions
.github/workflows/deploy.yml - Cloud Run
Other components
- Customer
- Administrator
Connections 11
- Customer → Storefront Routes: browses
app.py - Storefront Routes → Product Records: reads products
app.py - Storefront Routes → Storefront Template: renders
app.py - Administrator → Admin Authentication: logs in
app.py - Administrator → Catalog Management: manages products
app.py - Catalog Management → Product Records: checks and updates
app.py - Catalog Management → Product Images: uploads and deletes images
app.py - Customer → Checkout: submits order
app.py - Checkout → Stripe Payments: creates session
app.py - GitHub Actions → Cloud Run: deploys to
README.md - Cloud Run → Storefront Routes: runs
README.md