How cpemistal-debug/cdlem-flower-shop works
Petal & Pot is an Angular flower-shop storefront. A shopper browses the catalog, searches and filters products, adds items to a cart, and places an order; account features support profile setup and order tracking. Admin functions manage catalog data and order status. The main component owns these workflows and makes the shown Firebase calls. The excerpts do not show every UI interaction or Firebase operation, so the graph omits uncertain links and groups related operations by responsibility.
Main entry points: app.component.ts App Controller · app.component.html Storefront UI · product-search.ts Product Search · firebase.ts Firebase Setup
Components 14
Storefront
- Storefront UI
src/app/app.component.html - App Controller
src/app/app.component.ts
Shopping
- Product Catalog
src/app/products.ts - Product Search
src/app/product-search.ts - Cart and Checkout
src/app/app.component.ts
Accounts and Admin
- Customer Profile
src/app/app.component.ts - Order Tracking
src/app/app.component.ts - Admin Tools
src/app/app.component.ts
Firebase and Data
- Firebase Auth
- Cloud Firestore
- Firebase Setup
src/app/core/firebase.ts - Firebase Config
src/environments/environment.ts
Other components
- Shopper
- Product Photos
Connections 17
- Shopper → Storefront UI: uses
README.md - Storefront UI → App Controller: renders
src/app/app.component.ts - App Controller → Product Catalog: loads catalog
src/app/app.component.ts - App Controller → Product Search: searches and ranks
src/app/app.component.ts - Product Search → Product Catalog: indexes products
src/app/product-search.ts - App Controller → Cart and Checkout: manages cart
src/app/app.component.ts - Cart and Checkout → Cloud Firestore: writes orders
src/app/app.component.ts - App Controller → Customer Profile: manages profile
src/app/app.component.ts - Customer Profile → Cloud Firestore: reads and writes
src/app/app.component.ts - App Controller → Order Tracking: loads order status
src/app/app.component.ts - Order Tracking → Cloud Firestore: listens for orders
src/app/app.component.ts - App Controller → Admin Tools: handles admin tasks
src/app/app.component.ts - Admin Tools → Cloud Firestore: manages products and orders
src/app/app.component.ts - App Controller → Firebase Auth: signs in and out
src/app/app.component.ts - App Controller → Firebase Setup: uses Firebase clients
src/app/app.component.ts - Firebase Setup → Firebase Config: loads options
src/app/core/firebase.ts - Storefront UI → Product Photos: displays photos
README.md