How mateispic/hw-dashboard works
hw-dashboard is a Next.js Hot Wheels product dashboard. A browser request reaches the server-rendered home page, which fetches product records from Supabase and renders counts and a product grid; the grid presents product details and outbound product links. The README also documents source filtering, title search, sorting, new-product badges, image fallbacks, and five-minute ISR caching. Those browsing capabilities are represented with the grid rather than split into speculative modules. The sampled source establishes the fetch and rendering calls; no separate ingestion or persistence workflow is shown.
Main entry points: page.js Home page · supabase.js Product fetch · ProductGrid.js Product browsing
Components 5
Dashboard presentation
- Home page
app/page.js - Product browsing
components/ProductGrid.js
Product data access
- Product fetch
lib/supabase.js
Other components
- Dashboard visitor
- Supabase REST
Connections 4
- Dashboard visitor → Home page: requests
README.md - Home page → Product fetch: calls
app/page.js - Product fetch → Supabase REST: requests records
lib/supabase.js - Home page → Product browsing: renders products
app/page.js