How thomasalfareno/hki-store works
PlayDisc Store is a PHP/MySQL game-disc shop. The documented path is database setup and seeding, then entering the storefront to browse and manage shopping, orders, accounts, and reviews; the API also exposes SQL simulation and data-management actions. The excerpts show installer-to-schema execution, page loading through the shared database helper, and API database operations. Front-end-to-API wiring is not shown in the sampled source, so that relationship is marked unverified.
Main entry points: install.php Database installer · app.js Store interactions · index.php Store page · helper_db.php Table data helper
Components 15
Database Setup
- Database installer
install.php - Table schema
database/01_DDL.sql - Sample data
database/02_DML.sql - Connection settings
config/koneksi.example.php
Storefront
- Store page
index.php - Store interactions
assets/app.js - Responsive interface
assets/style.css
Commerce
- Table data helper
config/helper_db.php - Shopping and orders
api.php
Data Management
- Catalog management
api.php - Reviews and accounts
api.php - SQL simulator
api.php
Other components
- Store operator
- Shopper
- MySQL database
Connections 16
- Store operator → Database installer: configures
README.md - Database installer → MySQL database: creates database
install.php - Database installer → Table schema: executes schema
install.php - Database installer → Sample data: loads seed
install.php - Database installer → Connection settings: writes settings
install.php - Shopper → Store page: opens store
README.md - Store page → Table data helper: loads data helper
index.php - Table data helper → MySQL database: reads tables
config/helper_db.php - Store interactions → Shopping and orders: sends shop actions
- Store interactions → Catalog management: sends management actions
- Store interactions → Reviews and accounts: sends review actions
- Store interactions → SQL simulator: submits SQL
- Shopping and orders → MySQL database: reads and writes
api.php - Catalog management → MySQL database: manages records
api.php - Reviews and accounts → MySQL database: stores reviews
api.php - SQL simulator → MySQL database: executes queries
api.php