How ken05com/webdashboard-digital-store works
TECH COMPONENTS is a Laravel inventory dashboard for browsing and managing 25 seeded tech products across five categories. Users enter through the web routes, then browse the dashboard, listings, category pages, or search; product forms support create, edit, and delete, with changes saved to a JSON overlay rather than a database. The repository and product value object are the central data layer. The README documents additional settings and chart capabilities; unsampled route and view wiring is represented only where documented or indexed.
Main entry points: ProductRepository.php Catalog repository · web.php Web routes · ProductController.php Product handler · CatalogData.php Seed catalog
Components 21
Web entry
- Laravel app
bootstrap/app.php - Web routes
routes/web.php
Catalog data
- Catalog repository
app/Catalog/ProductRepository.php - Seed catalog
app/Catalog/CatalogData.php - Product value
app/Catalog/Product.php - Category enum
app/Catalog/Category.php - JSON overlay
- Chart palette
app/Catalog/ChartPalette.php
Catalog features
- Dashboard handler
app/Http/Controllers/DashboardController.php - Category handler
app/Http/Controllers/CategoryController.php - Product handler
app/Http/Controllers/ProductController.php - Search handler
app/Http/Controllers/SearchController.php - Settings handler
app/Http/Controllers/PageController.php
Dashboard UI
- Dashboard view
resources/views/dashboard.blade.php - Category page
resources/views/categories/show.blade.php - Product form
resources/views/components/catalog/product-form.blade.php - Product table
resources/views/components/catalog/product-table.blade.php - Search results
resources/views/search.blade.php - Settings page
resources/views/settings.blade.php - Dashboard charts
resources/js/app.js
Other components
- Dashboard user
Connections 25
- Dashboard user → Laravel app: requests pages
README.md - Laravel app → Web routes: loads routes
bootstrap/app.php - Web routes → Dashboard handler: routes to
routes/web.php - Web routes → Category handler: routes to
routes/web.php - Web routes → Product handler: routes to
routes/web.php - Web routes → Search handler: routes to
routes/web.php - Web routes → Settings handler: routes to
routes/web.php - Dashboard handler → Catalog repository: queries metrics
app/Http/Controllers/DashboardController.php - Category handler → Catalog repository: gets category products
app/Http/Controllers/CategoryController.php - Product handler → Catalog repository: manages products
app/Http/Controllers/ProductController.php - Search handler → Catalog repository: queries results
app/Http/Controllers/SearchController.php - Settings handler → Catalog repository: reads or resets
app/Http/Controllers/PageController.php - Catalog repository → Seed catalog: loads baseline
app/Catalog/ProductRepository.php - Catalog repository → JSON overlay: reads and writes
app/Catalog/ProductRepository.php - Catalog repository → Product value: builds catalog rows
app/Catalog/ProductRepository.php - Seed catalog → Product value: creates seed rows
app/Catalog/CatalogData.php - Seed catalog → Category enum: assigns categories
app/Catalog/CatalogData.php - Dashboard handler → Dashboard view: renders
app/Http/Controllers/DashboardController.php - Category handler → Category page: renders
app/Http/Controllers/CategoryController.php - Product handler → Product form: uses form
app/Http/Controllers/ProductController.php - Product handler → Product table: renders listings
- Search handler → Search results: renders
app/Http/Controllers/SearchController.php - Settings handler → Settings page: renders
app/Http/Controllers/PageController.php - Dashboard view → Chart palette: uses colors
resources/views/dashboard.blade.php - Dashboard view → Dashboard charts: runs charts