SABRAMAN

SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН SABRAMAN DANYA YUDIN КАРТОН
Brand Digital Ecosystem
Case Study

SMOKE ME BRO Ecosystem

A unified digital commerce ecosystem for SMOKE ME BRO: retail/wholesale portal, Telegram Mini App ordering system with MoySklad sync, and Three.js WebGL marketing landing.

Problem and context

SMOKE ME BRO operated with fragmented sales surfaces: a simple brand website, manual wholesale orders handled via managers in chats, and marketing campaigns leading to generic landing pages. This caused inventory discrepancies and high administrative overhead.

The goal was to design and build a unified digital commerce ecosystem combining consumer discovery, a self-service B2B wholesale platform, a Telegram Mini App storefront, and an immersive WebGL-powered marketing funnel.

We needed to support real-time inventory synchronization with MoySklad API, multi-role checkout rules, and high-performance WebGL animations to engage retail and wholesale audiences.

Architecture and monorepo

The entire system is deployed as modular surfaces inside a single Next.js monorepo, sharing UI assets, database queries, and API modules to keep development agile.

Data storage is powered by Convex DB, handling reactive client sessions. The inventory pipeline synchronizes warehouse stock levels with MoySklad API via scheduled cron workers.

The promotional frontend runs a WebGL render loop using Three.js and custom fragment shaders, optimized to load under 200ms by utilizing lightweight SVG assets.

  • Next.js monorepo with shared packages
  • Convex DB reactive backend & MoySklad API
  • Three.js shader-based fluid animations

Feature deep dive

The brand platform offers pickup location maps, news feeds, and role-based CMS management for content, users, and product analytics.

Wholesale buyers log into personal profiles to view tiered pricing cards, configure bulk order sheets, calculate volume-based discounts, and export PDF invoices.

The Telegram Mini App brings catalog search, shopping carts, win-wheel gamification, and manager broadcast alerts directly inside the chat interface.

The WebGL marketing landing utilizes dynamic cursor liquid-distortion physics to engage mobile visitors and convert them to bot leads.

Tooling and integrations

Powered by React, Next.js, and TypeScript. State management is split between Convex queries and Zustand stores with localStorage persistence.

WebGL effects are built using Three.js postprocessing packages, rendering custom noise displacements and liquid physics at 60 FPS on mobile.

MoySklad API integrations sync stock amounts, pricing categories, and order specifications automatically, with strict rate-limit protection.

Constraints and tradeoffs

Combining web portals, mini-apps, and shaders in one monorepo simplifies updates but increases initial config and routing complexity.

Convex real-time queries provide instant catalog changes but require strict document cache invalidation rules.

Heavy fragment shaders on the promotional page require strict device performance checks, falling back to static layouts on legacy devices.

Outcome and impact

Wholesale order processing speed rose by 60% as manual managers' spreadsheet confirmations were replaced by self-service portals.

Double sales of seasonal items dropped to absolute zero due to real-time stock sync across the wholesale dashboard and TMA catalog.

WebGL promotional pages generated a 35% increase in lead captures, sending qualified traffic straight into Telegram bot funnels.

FAQ

How is stock sync kept consistent?

The scheduler pulls MoySklad API updates periodically, and database transaction locks prevent double checkout of single inventory items.

Why use WebGL liquid shaders for promo?

To design a high-contrast, premium experience that stands out from default template sites, increasing user attention and click conversions.

How is order status tracked?

Order updates in MoySklad trigger Convex status mutations, sending automated notifications via Telegram bot alerts.

INTERESTED IN WORKING TOGETHER?

Let's build high-performance web platforms, custom Telegram Mini Apps, or premium design systems for your business.