How pargatsingh2004/goody-chocolate-ecommerce works
Goody is a Django ecommerce storefront with a staff-facing administration panel. Shoppers browse products, manage a session cart and wishlist, check out, and then manage orders and account details; registration and OTP/password-reset flows support that journey. Staff manage catalog, orders, customers, contacts, coupons, reviews, payment settings, and email campaigns. The graph reflects the sampled routes and source references; checkout internals and several admin capabilities are only partially sampled, so their detailed interactions are not asserted.
Main entry points: urls.py Storefront routes · models.py Commerce records · views.py Staff operations · emails.py Email delivery
Components 17
Storefront
- Storefront routes
goody/products/urls.py - Catalog browsing
goody/products/views.py
Commerce
- Cart and coupons
goody/products/views.py - Checkout and payment
goody/products/views.py - Order management
goody/products/views.py - Wishlist
goody/products/views.py - Model signals
goody/products/signals.py - Commerce records
goody/products/models.py
Accounts
- Authentication
goody/products/views.py - Customer account
goody/products/views.py - Email delivery
goody/products/emails.py
Administration
- Staff routes
goody/admin_panel/urls.py - Staff operations
goody/admin_panel/views.py - Staff forms
goody/admin_panel/forms.py - Staff access control
goody/admin_panel/decorators.py
Other components
- Shopper
- Staff user
Connections 24
- Shopper → Storefront routes: requests pages
goody/products/urls.py - Storefront routes → Catalog browsing: routes to
goody/products/urls.py - Storefront routes → Cart and coupons: routes to
goody/products/urls.py - Storefront routes → Checkout and payment: routes to
goody/products/urls.py - Storefront routes → Order management: routes to
goody/products/urls.py - Storefront routes → Wishlist: routes to
goody/products/urls.py - Storefront routes → Authentication: routes to
goody/products/urls.py - Storefront routes → Customer account: routes to
goody/products/urls.py - Catalog browsing → Commerce records: queries
goody/products/views.py - Cart and coupons → Commerce records: queries and updates
goody/products/views.py - Checkout and payment → Commerce records: creates order records
goody/products/views.py - Order management → Commerce records: reads order records
goody/products/views.py - Wishlist → Commerce records: updates wishlist
goody/products/views.py - Customer account → Commerce records: updates account data
goody/products/views.py - Authentication → Email delivery: may send mail
goody/products/views.py - Checkout and payment → Email delivery: may send mail
goody/products/views.py - Order management → Email delivery: may send mail
goody/products/views.py - Model signals → Commerce records: maintains related records
goody/products/signals.py - Staff user → Staff routes: requests admin
goody/admin_panel/urls.py - Staff routes → Staff operations: routes to
goody/admin_panel/urls.py - Staff operations → Staff access control: protects staff views
goody/admin_panel/views.py - Staff operations → Staff forms: uses forms
goody/admin_panel/views.py - Staff operations → Commerce records: manages records
goody/admin_panel/views.py - Staff operations → Email delivery: may send campaign mail
goody/admin_panel/views.py