Drift Roastery הוא אתר אדיטוריאלי פרימיום לסדנת קלייה specialty coffee, חי ופעיל ב-zbang-api.
מערכת רב-יכולתית עם 7 יכולות נפרדות:
- ☕ Bean catalog — 6 single-origin beans עם palette ייעודי, tasting notes, acidity/body/sweetness scores (1-10), elevation, varietal, processing method, farmer name, harvest, price per 250g
- 📦 Subscriptions — 3 tiers (Drifter ₪48, Explorer ₪88, Atlas ₪188) עם cadence, bags per delivery, feature lists, popular flag
- 🏠 Café locations — 3 cafés (Rothschild Bar flagship, Florentin Workshop, German Colony Haifa) עם address, hours, seats, opened year, flagship flag
- 📖 Brewing guides — 4 methods (V60 pour-over, Espresso, French Press, Aeropress) עם difficulty, time, equipment list, step-by-step instructions, view counter
- ✉️ Order intake — 4 order types (subscription/wholesale/one-off/gift) עם auto-calc estimated value מ-prices של beans/subs
- 📬 Newsletter — 3 interest tiers (new-arrivals/guides/events) עם dedupe על email
- 💚 Wishlist tracking — increment counter per bean (אומת live ב-e2e: Panama Geisha עלה ל-2)
ניתן לקנפג: roastery name, tagline, founded year, headquarters, instagram, accent color, next roast date, inquiry response hours, total bags roasted, total origins sourced
תוצאות אמיתיות בסקרין (live data):
- 6 beans active (Yirgacheffe Banko Gotiti, Huila Las Flores Pink Bourbon, Kenya Kirinyaga AB, Panama Geisha Anaerobic, Indonesia Aceh Gayo, Brazil Fazenda Pinhal)
- 3 subscription tiers (Drifter / Explorer / Atlas)
- 3 café locations · 4 brewing guides · 37 origins sourced lifetime
- 7 orders queued (כולל 2 e2e: subscription Explorer ₪88 + wholesale Brazil 12kg ₪216)
- 8 newsletter subscribers · 2 wishlist entries · V60 guide viewed 2x
- e2e אומת end-to-end: order POST → estimated_value computed correctly מ-subscription/bean prices → DB persist → guide view increment → wishlist increment
ארכיטקטורה:
- Backend: FastAPI עם 18 endpoints חשופים ב-
/api/drift/*(beans CRUD + wishlist tracking, subscriptions list, cafes list, guides list + view increment, orders POST + admin list, newsletter POST + dedupe + list, stats, settings, seed, health) - Database: 7 טבלאות PostgreSQL:
drift_beans,drift_subscriptions,drift_cafes,drift_guides,drift_orders,drift_subscribers,drift_settings - Order value engine: auto-calculates estimated_value_cents מ-price מ-subscription/bean × quantity
- Frontend: Long-scroll editorial landing page וניל JS עם 6 sections (Hero, Beans grid, Sourcing, Subscriptions, Brewing, Cafés, Order) — editorial typography (Fraunces serif + Inter sans + Instrument Serif accent), warm coffee palette (#1a0f08 espresso → #c9a96a gold → #fef7e6 cream), bean drawer modal עם cup profile sparkbars, guide drawer modal עם equipment + step-by-step, real form CRUD (order + newsletter), smooth scroll nav, responsive (1100/720 breakpoints)
- 4 codex images: gold coffee bean wordmark logo, cinematic espresso pour hero, flat-lay sourcing montage, third-wave café interior