How alcantararhealyncodes/hanrhecious-diner works
Hanerhecious Diner is a PHP/MySQL restaurant ordering website. Customers register and verify accounts, browse dishes, apply coupons, place Cash on Delivery orders, and follow order status; administrators manage orders, menu, coupons, customers, and support. Support requests and public help/privacy pages are additional product branches. The sampled pages are largely self-contained PHP entry points. Relationship evidence is limited: the README documents capabilities, and the excerpts directly show signup and resend verification invoking the email helper; unsampled page-to-page and database interactions are not asserted.
Main entry points: database.sql MySQL data store · send_email.php Email sender · menu.php Browse menu and cart · checkout.php Coupon and checkout
Components 25
Customer ordering
- Restaurant home
index.php - Browse menu and cart
menu.php - Coupon and checkout
checkout.php - Order confirmation
order_success.php - Order history
order_history.php - Order details and status
order_details.php - Customer dashboard
customer_dashboard.php
Accounts and email
- Registration
signup.php - Email verification
verify_email.php - Resend verification
resend_verification.php - Email sender
send_email.php - Sign in
login.php - Sign out
logout.php
Administration
- Order management
admin_dashboard.php - Menu management
admin_menu.php - Coupon management
admin_coupons.php - Customer listing
admin_customers.php
Support and information
- Submit support request
customer_support.php - Support requests and replies
my_support_requests.php - Support management
admin_support.php - Help center
help_center.php - Privacy policy
privacy_policy.php
Other components
- Visitor
- SMTP mail service
- MySQL data store
database.sql
Connections 25
- Visitor → Restaurant home: browses
README.md - Visitor → Registration: registers
README.md - Visitor → Sign in: signs in
README.md - Visitor → Browse menu and cart: browses dishes
README.md - Visitor → Help center: seeks help
README.md - Visitor → Privacy policy: reads policy
README.md - Registration → Email sender: sends verification
signup.php - Resend verification → Email sender: sends link
resend_verification.php - Email sender → SMTP mail service: sends mail
send_email.php - Browse menu and cart → Coupon and checkout: continues ordering
README.md - Coupon and checkout → Order confirmation: confirms order
- Order confirmation → Order history: tracks order
README.md - Order history → Order details and status: views details
README.md - Visitor → Submit support request: requests support
README.md - Submit support request → Support requests and replies: views replies
README.md - Order management → MySQL data store: manages orders
- Menu management → MySQL data store: manages dishes
- Coupon management → MySQL data store: manages coupons
- Customer listing → MySQL data store: lists accounts
- Support management → MySQL data store: manages requests
- Visitor → Order management: administers
README.md - Visitor → Menu management: administers
README.md - Visitor → Coupon management: administers
README.md - Visitor → Customer listing: administers
README.md - Visitor → Support management: administers
README.md