How cyrildaoust-source/mikadodecov2 works
Mikado Deco is a server-rendered furniture and home-decor storefront backed by Shopify. A visitor requests a page or API result; Express routes the request, catalog/search services obtain and shape product data, and page rendering injects storefront chrome and navigation. Distinct product areas include category browsing, natural-language search, product detail, brand/family/editorial pages, cart, and forms. The graph reflects the available source excerpts and index references; unsampled route and rendering internals limit some relationship detail.
Main entry points: pages.js Page routes · search.js Search service · app.js Express app · catalog-scope.js Catalog scope
Components 24
HTTP entry
- Express app
app.js - Page routes
routes/pages.js - API routes
routes/api.js - Cart routes
routes/cart.js - Form routes
routes/forms.js
Catalog and search
- Search service
lib/services/search.js - Search intent
lib/search-intent.js - Search catalog
lib/search-catalog.js - Catalog service
lib/services/catalog.js - Catalog scope
lib/services/catalog-scope.js - Catalog filters
lib/catalog-filters.js - Chair catalog
lib/chair-catalog.js - Shopify transport
lib/shopify/client.js - Product mapping
lib/shopify/product-mapper.js
Storefront presentation
- Chrome rendering
lib/render/chrome.js - Navigation rendering
lib/render/navigation.js
Commerce and content
- Product detail
v3/pages/produit.js - Product listings
v3/pages/produits.js - Curated selection
v3/pages/selection.js - Newsletter handling
lib/newsletter.js - Editorial media
lib/editorial-media.js - Family pages
lib/family-pages.js
Other components
- Visitor
- Shopify Storefront
Connections 32
- Visitor → Express app: requests
app.js - Express app → Page routes: routes pages
app.js - Express app → API routes: routes API
app.js - Express app → Cart routes: routes cart
app.js - Express app → Form routes: routes forms
app.js - Page routes → Chrome rendering: injects chrome
routes/pages.js - Page routes → Navigation rendering: injects navigation
routes/pages.js - Page routes → Product detail: serves detail
routes/pages.js - Page routes → Product listings: serves listings
- Page routes → Curated selection: serves selection
- Page routes → Editorial media: uses media
routes/pages.js - Page routes → Family pages: loads family data
routes/pages.js - API routes → Search service: requests search
routes/api.js - API routes → Catalog service: requests catalog
routes/api.js - API routes → Catalog scope: requests scoped catalog
routes/api.js - Search service → Search intent: parses query
lib/services/search.js - Search service → Search catalog: loads and filters
lib/services/search.js - Search service → Chair catalog: loads variants
lib/services/search.js - Search service → Shopify transport: fetches products
lib/services/search.js - Search service → Product mapping: maps products
lib/services/search.js - Search catalog → Catalog filters: reuses filters
lib/search-catalog.js - Search catalog → Search intent: parses search terms
lib/search-catalog.js - Search catalog → Chair catalog: uses chair data
lib/search-catalog.js - Catalog service → Shopify transport: fetches Shopify data
lib/services/catalog.js - Catalog service → Product mapping: maps products
lib/services/catalog.js - Catalog scope → Catalog filters: uses filters
lib/services/catalog-scope.js - Catalog scope → Catalog service: uses catalog data
lib/services/catalog-scope.js - Catalog scope → Shopify transport: fetches products
lib/services/catalog-scope.js - Catalog scope → Product mapping: maps products
lib/services/catalog-scope.js - Catalog filters → Product detail: variant support
lib/catalog-filters.js - Shopify transport → Shopify Storefront: queries Storefront API
lib/shopify/client.js - Form routes → Newsletter handling: handles signup
routes/forms.js