












Every price is calculated per-customer based on their account relationship. Supports rate discounts (percentage off), volume discounts (quantity tiers), and free goods promotions. Prices update in real-time from LodDepot with 2-minute cache intervals.
Hourly automated sync pulls product data, inventory levels, and category structures from LodDepot API. Smart collections auto-rebuild when new products appear. Sync logs track every operation with error reporting. Manual sync trigger available in admin.
Fully typed GraphQL layer for all admin operations: product management, collection CRUD, category editing, analytics queries. Firebase Admin auth middleware protects all mutations. Cache invalidation triggers automatically on data changes.
Filter-based collections with complex AND/OR logic. Automatically match products against vendor, country, categories, and custom attributes. Rebuild hourly during sync. Support manual, auto (synced from ERP), and smart (rule-based) types.
Migrated product images from Azure, Shopify, and AWS into unified S3 storage. Automatic format optimization via S3 query params. Products support up to 5 images each. Brand logos and headers managed separately with upload UI.
Variable TTL strategy: products 10min, collections 15min, pricing 2min, search 3min, sessions 24h. Reduces LodDepot API calls by ~80%. Cache invalidation on admin changes. Session storage with HttpOnly cookies.
Dynamic XML sitemaps for 10K+ products. SEO-friendly slugs for brands, countries, and collections with automatic 301 redirects for migrated URLs. Server-side rendering for meta tags, Open Graph, and structured data.
Dedicated pages for each vendor/brand with custom logos, headers, descriptions, and product listings. Country-based product browsing for specialty food discovery. All with admin-editable content blocks and SEO fields.
Shopping cart with local persistence, bulk quantity entry, unit conversion display (KG, CS, PCS). PO number support, delivery/pickup selection, order history from LodDepot. Customer registration and vendor application forms.
Account-based authentication via JWT tokens. Sessions stored in Redis with 24h TTL. Account numbers auto-injected into all pricing API requests. Customer-specific catalog views based on relationship data.
Product management with full-text search and pagination across 10K+ items. Drag-and-drop product curation for featured sections. Rich text editor (TipTap) for collection content. Sync status monitoring, vendor application review, and user management.
Full containerized stack: PostgreSQL 16, Redis 7, Express backend with auto-migrations, Next.js frontend with Turbopack. Docker Compose orchestration. Horizontal scaling ready with stateless Redis sessions.