How lindaabytyqi/beauty-ecommerce works
This PHP skincare storefront supports product discovery through checkout and order history, alongside customer accounts and an admin content/operations panel. The graph preserves the README’s major capabilities; some feature links are documented rather than verified in source excerpts, so their evidence cites the README. PostgreSQL is shown as an external store, accessed through the repository’s PDO connection file.
Main entry points: admindashboard.php Admin Panel · database.php PDO Connection · index.php Storefront · product.php Catalog and Search
Components 27
Storefront
- Storefront
index.php - Catalog and Search
product.php - Product Details
productdetails.php
Shopping and Orders
- Shopping Cart
cart.php - Checkout
checkout.php - Order Processing
processorder.php - Order History
myorder.php
Accounts and Security
- Registration
register.php - Login
login.php - Customer Account
customerdashboard/dashboard.php - Customer Authentication
includes/user_auth.php - Admin Authorization
admin/admin_auth.php - CSRF Protection
includes/csrf.php - PDO Connection
includes/database.php
Content and Contact
- Newsletter Signup
newsletter.php - Contact Form
contactus.php - Blog
blogs.php - Beauty Quiz
beauty-quiz.php
Administration
- Admin Panel
admin/admindashboard.php - Product and Category Management
admin - Order Management
admin/orders.php - User Management
admin/users.php - Site Content Management
admin - Newsletter Management
admin/newsletter.php
Other components
- Customer
- PostgreSQL
- Gmail SMTP
Connections 31
- Customer → Storefront: browses
README.md - Storefront → Catalog and Search: opens catalog
README.md - Catalog and Search → Product Details: views products
README.md - Product Details → Shopping Cart: adds to cart
README.md - Shopping Cart → Checkout: continues to
README.md - Checkout → Order Processing: places order
README.md - Order Processing → Order History: records for history
README.md - Customer → Registration: registers
README.md - Customer → Login: signs in
README.md - Customer → Customer Account: manages account
README.md - Customer Account → Customer Authentication: checks session
customerdashboard/dashboard.php - Customer Authentication → Login: redirects unauthenticated
includes/user_auth.php - Admin Panel → Admin Authorization: checks authorization
admin/admin_auth.php - Admin Panel → Product and Category Management: manages catalog
README.md - Admin Panel → Order Management: manages orders
README.md - Admin Panel → User Management: manages users
README.md - Admin Panel → Site Content Management: manages site content
README.md - Admin Panel → Newsletter Management: manages subscribers
README.md - Storefront → PDO Connection: queries catalog data
index.php - Catalog and Search → PDO Connection: queries products
product.php - Product Details → PDO Connection: queries product data
productdetails.php - Checkout → PDO Connection: uses database
checkout.php - PDO Connection → PostgreSQL: opens PDO connection
includes/database.php - Contact Form → Gmail SMTP: sends via SMTP
README.md - Customer → Newsletter Signup: subscribes
README.md - Customer → Contact Form: contacts store
README.md - Customer → Blog: reads articles
README.md - Customer → Beauty Quiz: takes quiz
- Product and Category Management → CSRF Protection: protects form submissions
admin/addabout.php - Site Content Management → CSRF Protection: protects form submissions
admin/addblog.php - Customer Account → CSRF Protection: uses form protection