How akithn/cake-shop-management-system works
This is a small PHP-and-static-web cake shop application. Customers can browse cakes, use a client-side cart, register or log in, and look up product details; staff have a separate login and product-management pages. The README also names browsing and ordering, while the tree indicates informational and review pages. Sampled PHP confirms account and product database operations; HTML page wiring and several page behaviors were not sampled, so uncertain links are omitted.
Main entry points: db-config.php Account connection · login.php Customer login · mlogin.php Manager login · Addtocart.html Cart page
Components 18
Customer shop
- Cake browsing
index.html - Cart page
Addtocart.html - Cart logic
Addtocart.js - Product lookup
search.php - Review page
Review.html - Services page
Servises.html - About page
About.html
Accounts
- Registration
register.php - Customer login
login.php - Manager login
mlogin.php - Account connection
db-config.php
Product management
- Item management
ManageItems.html - Add product
ManageItems.php - Update product
update.php - Delete product
delete.php
Other components
- Customer
- Product database
- Account database
Connections 20
- Customer → Cake browsing: browses
- Customer → Cart page: uses
- Customer → Product lookup: looks up
- Customer → Review page: visits
- Customer → Services page: visits
- Customer → About page: visits
- Cart page → Cart logic: runs
- Customer login → Cart page: redirects
- Manager login → Item management: redirects
- Registration → Account connection: includes
- Customer login → Account connection: includes
- Manager login → Account connection: includes
- Account connection → Account database: connects
- Registration → Account database: reads/writes
- Customer login → Account database: checks
- Manager login → Account database: checks
- Product lookup → Product database: queries
- Add product → Product database: inserts
- Update product → Product database: updates
- Delete product → Product database: deletes