AKArif Khan.
All work
Marketplace2026TkanMarket

TkanMarket

A B2B fabric sourcing marketplace connecting Chinese mills with Russian/CIS buyers.

Client
TkanMarket
Role
Full-stack engineer · marketplace build
Timeline
Production marketplace
Year
2026
Platform licenseAvailable
From ৳1,80,000–৳4,00,000

Source license, documentation and guided handover. Scope and terms are agreed privately.

View license details
TkanMarket preview
146
screens
248
API routes
149
data tables
80
tests
Product tour

See the actual product.

Screens and a walkthrough captured from the running TkanMarket build — not a mockup.

8 screens · product capture
Live preview

Try it before you buy.

Open the deployed experience, explore the public flow, or request guided access to the admin side before you purchase. Credentials are shared only when the demo is safe to expose.

Demo credentials are published only when they expose non-sensitive demo data. Client production data is never shared publicly.
Preview access
Private admin demo.

The marketplace is public. Supplier and admin demo access is shared privately on request.

Performance & quality

Lighthouse, in the open.

Real Lighthouse audits of the live TkanMarket deployments on both profiles. Scores are point-in-time snapshots — useful for spotting friction, not a substitute for real user monitoring.

Mobile · 89Desktop · 100
MobileSimulated throttling1 report
Marketplace
tkanmarket.nabasolution.tech · Nov 5, 2026
PageSpeed
89
Performance
100
Accessibility
100
Best practices
100
SEO
FCP
1.2 s
LCP
3.6 s
TBT
110 ms
CLS
0
Speed Index
2.1 s

Audited with Lighthouse 13 · mobile profile · scores vary with network, device and third-party scripts.

Case study
Stack
Next.js 16TypeScriptTailwind CSSShadcn UITanStack QueryDrizzle ORMPostgreSQL 16BullMQRedisNextAuth v5OpenAIGemini
01 · The challenge

What was actually broken.

Cross-border fabric sourcing is fragmented across WhatsApp, spreadsheets and middlemen. Buyers need verified mills, accurate fabric specifications, language support and a reliable path from inquiry to delivery, while suppliers need a credible digital showroom.

02 · The approach

How I designed the build.

Built with Next.js 16 App Router, strict TypeScript, Tailwind/Shadcn, TanStack Query, Drizzle ORM and PostgreSQL 16, plus BullMQ/Redis workers, NextAuth v5, Zod and OpenAI/Gemini integrations. The deployment runs on Docker with Caddy and GitHub Actions CI/CD, with background workers handling async jobs.

03 · Architecture & design

How the system is put together.

Next.js 16 App Router marketplace with Drizzle/PostgreSQL 16, NextAuth v5, BullMQ/Redis workers and object storage, deployed behind Caddy with GitHub Actions CI/CD.

Codebase at a glance
Analysed from source
Apps
Next.js 16 marketplaceBullMQ workerCrawler / supplier discovery
Key modules
Fabric catalogSupplier/mill discoveryBuyer enquiriesSearch & filtersAuth & rolesAI sourcingMedia storageAdmin operations
Services
webworkercrawlerpostgresrediscaddy
Integrations
OpenAIGeminiObject storageWhatsAppGitHub Actions
Languages
TypeScriptSQL

Analysed from the Next.js route tree, 149 Drizzle tables, 146 screens, 248 API routes, worker package and production compose file.

Analysed from source
actual project tree
146
Screens
248
API routes
149
Data models
3
Apps / modules

Next.js 146 screens, 248 API route handlers, 149 Drizzle tables and 80 tests; BullMQ worker, crawler and supplier-discovery services.

System architecture
Production topology · analysed from the codebase
productionrequest flow ↓
Application boundary10 services
01
Client
Client layer
2 services
Next.js 16 marketplace
Buyer & supplier flows
Multilingual UI
English / Russian
request flow
02
API
API layer
2 services
Route handlers + server actions
Catalog · inquiries · auth
NextAuth v5
Role-aware sessions
events · jobs
03
Async
Async layer
2 services
BullMQ workers
Imports · notifications · AI jobs
Redis
Queues & transient state
queries · writes
04
Data
Data layersystem of record
2 services
PostgreSQL 16
Drizzle ORM · catalog & orders
Object storage
Product media
webhooks · APIs
05
Integrations
Integrations layerexternal services
2 services
OpenAI + Gemini
AI-assisted sourcing
GitHub Actions + Caddy
CI/CD & TLS
ClientAPIAsyncDataIntegrations
Client → API → data path
System design & key decisions

Catalog reads are server-rendered and cached; supplier/buyer actions are role-scoped. Async jobs handle imports, notifications and AI-assisted sourcing through Redis-backed queues, keeping request latency predictable. Media lives outside the app and is served through stable URLs. The source tree contains 146 screens, 248 API routes and 149 Drizzle tables.

04 · What shipped

The product, in detail.

Module 01Buyer

Buyer storefront & discovery

A bilingual storefront built for buyers who know the fabric they need but not the exact SKU.

  • English / Russian catalog with localized fabric terminology
  • Smart search and filters for fabric type, GSM, composition, width, color and stock
  • Featured inventory, new arrivals and trending fabric surfaces
  • Fabric detail pages with SKU, specs, MOQ and sample-request flow
Module 02Supplier

Supplier & mill directory

Verified mill profiles that work as a credible digital showroom for Chinese suppliers.

  • Supplier profiles with capabilities, fabric categories and market focus
  • Mill discovery by region, catalog depth and MOQ
  • Supplier-facing inquiry handoff instead of off-platform WhatsApp chains
  • Admin verification and moderation before a mill goes live
Module 03AI

AI sourcing assistant

Turns a messy buyer message into a structured sourcing brief and a ranked mill shortlist.

  • Extracts fabric type, GSM, composition, width, color, quantity and destination from natural language
  • Ranks verified mills by capability, MOQ, stock and region
  • Drafts a supplier-ready RFQ the buyer can edit before sending
  • Keeps the original buyer language and a normalized English brief side by side
Module 04AI

AI catalog & content operations

Helps suppliers publish consistent bilingual listings without rewriting every spec by hand.

  • Generates and translates English/Russian titles, descriptions and attributes
  • Normalizes raw mill specs into structured catalog fields
  • Produces SEO metadata and bullet summaries for fabric pages
  • Keeps a textile glossary so GSM, weave, composition and finish stay consistent
Module 05Buyer / Supplier

Inquiry & sample workflow

A clear path from interest to sample to production order, with no lost context.

  • Sample requests with swatch and hanger handoff
  • Buyer/supplier inquiry threads with fabric and quantity context
  • Status tracking from request to sample to order
  • WhatsApp handoff for buyers who prefer to continue the conversation there
Module 06Admin

Admin & catalog operations

The back office that keeps the fabric catalog clean, reviewed and publishable.

  • Fabric CRUD, media uploads and object-storage URLs
  • Supplier management, verification states and featured inventory
  • Bulk import and content-review queues
  • Audit-friendly admin actions for catalog and supplier changes
Module 07Infrastructure

Async jobs & integrations

AI, imports and notifications run outside the request path so the marketplace stays fast.

  • BullMQ + Redis workers for AI jobs, imports and notifications
  • Retries, timeouts and rate limits around OpenAI and Gemini calls
  • Queued translation and content-generation jobs with status tracking
  • Stable media delivery through object storage
Module 08Infrastructure

Deployment & reliability

A production deployment pipeline that can ship catalog and AI changes safely.

  • Dockerized Next.js app, worker and PostgreSQL services
  • Caddy reverse proxy with TLS
  • GitHub Actions CI/CD for repeatable deploys
  • Environment-separated AI keys and provider fallbacks
Module 09Buyer

Fabric comparison & wishlist

Buyers can shortlist, compare and return to fabrics before committing to a sample.

  • Side-by-side fabric comparison
  • Saved wishlist for buyers
  • Shareable shortlist context
  • Account-backed saved state
Module 10Buyer / Supplier

Sample request lifecycle

A tracked path from sample request to swatch dispatch and follow-up.

  • Sample request form
  • Sample inventory management
  • Sample lifecycle tracking
  • Admin sample operations
Module 11Growth

Bulk inquiry & lead capture

High-intent buyers are captured, scored and routed instead of lost in WhatsApp.

  • Bulk inquiry flow and lead-success page
  • Lead scoring, qualification and assignment rules
  • Admin lead workspace
  • Message center for follow-up
Module 12Buyer

Order tracking & post-purchase

Buyers can track an order by reference and reach support with context.

  • Public order tracking by reference
  • Order status timeline
  • Support and contact routes
  • Maintenance and legal pages
Module 13Supplier

Supplier onboarding & compliance

A verified supplier network with onboarding, reviews and payout controls.

  • Supplier onboarding and verification
  • Supplier reviews, compliance and scorecards
  • Performance matrix and benchmarking
  • Payouts and withdrawal workflows
Module 14Admin

Catalog operations & bulk data

The back office for a large fabric catalog, including imports, exports and drafts.

  • Fabric CRUD and bulk create
  • Fabric types, categories and attribute manager
  • Media library and raw uploads
  • Catalog import, export, draft preview and inventory health
Module 15AI

Marketing, social & AI content

AI-assisted content and a social command center for catalog-led demand generation.

  • AI prompt rules and prompt logs
  • Blog AI generation and regeneration
  • Social calendar, campaigns, integrations and analytics
  • Bulk SEO editor
Module 16Analytics

Pricing, analytics & growth

Commercial visibility from pricing and promotions through sales performance.

  • Advanced analytics and sales performance
  • Promotion analytics and pricing analysis
  • Wholesale pricing tiers and simulator
  • Custom report builder
Module 17Security

Security, access & audit

Role-based access, 2FA and audit trails for a multi-team marketplace.

  • Roles and permissions
  • User access and team management
  • 2FA, auth logs and security settings
  • Audit log and activity trail
Module 18Infrastructure

Platform health & developer tools

The operational layer behind the marketplace: jobs, APIs, crawlers and recovery.

  • API keys, API sandbox and integrations
  • BullMQ job queue and crawler controls
  • System health, network performance and diagnostics
  • Backup, recovery, maintenance and logs
05 · The result

What changed for the business.

A live B2B marketplace with a multilingual storefront, featured inventory, fabric search, supplier pages and worker-backed operations. The project ships with a production deployment pipeline and a reusable catalog architecture.

Open the live product

The summary: A cross-border B2B marketplace for fabric sourcing — connecting Chinese textile manufacturers with Russian and CIS buyers through a multilingual catalog, supplier discovery and an AI-assisted sourcing workflow.

Client words

Verified feedback.

Collected through private review links and published only after approval. No public account and no invented testimonials.

0 testimonials
No published testimonial yet.

Client feedback for this project is collected through private review links. Approved testimonials will appear here.

Worked on this project? Request a review link
Discussion

Questions & reactions.

React to the build or leave a question. Comments are moderated before they appear on the page.

Comments are reviewed before publishing. Email is never shown.

No approved comments yet. Be the first to ask a question.

AI in this build

AI is a workflow layer — not a chatbot badge.

TkanMarket uses OpenAI and Gemini behind queue-backed jobs to turn unstructured sourcing inputs into structured briefs, matched suppliers and publish-ready bilingual catalog content. Every AI output is a draft that a validation step or a human reviews before it reaches a buyer or supplier.

OpenAIGeminiBullMQRedisZodPostgreSQLNext.js 16
Use case 01

Natural-language sourcing brief

A buyer can write “I need a 320 GSM stretch velvet in black for 2,000 metres, delivered to Moscow” in English or Russian. The AI extracts the fabric type, GSM, color, quantity and destination into structured fields.

Outcome
Less back-and-forth before a supplier can quote; the buyer sees exactly what was understood.

Use case 02

Supplier / mill matching

The structured brief is matched against verified mill capabilities, fabric categories, MOQ, stock and region. The result is a ranked shortlist with a reason for each match.

Outcome
Buyers reach relevant mills faster instead of manually filtering the full fabric catalog.

Use case 03

Bilingual catalog normalization

AI translates and normalizes English/Russian titles, descriptions and attributes, while a textile glossary keeps terms such as GSM, twill, tweed, composition and finish consistent.

Outcome
One catalog serves both markets without duplicating every listing or losing technical accuracy.

Use case 04

Supplier listing & SEO content

Raw mill specs and images become structured listing copy, bullet points and metadata. The supplier or admin reviews the draft before publishing.

Outcome
Suppliers publish faster; the marketplace keeps a consistent, searchable catalog.

Use case 05

RFQ drafting & reply summaries

AI turns the buyer brief into a supplier-ready RFQ and summarizes long replies into price, MOQ, lead time, composition and next action.

Outcome
Fewer missed details in WhatsApp-style negotiations; buyers can compare responses side by side.

Use case 06

Async AI job pipeline

AI calls run through BullMQ and Redis workers with retries, timeouts, per-user rate limits and job logs, not inside the page request.

Outcome
The storefront stays fast even when AI providers are slow or temporarily unavailable.

Request flow
  1. 01Buyer describes the requirement in English or Russian
  2. 02AI extracts a structured fabric brief and validates it with Zod
  3. 03Matching ranks verified mills by capability, MOQ, stock and region
  4. 04Buyer reviews and edits the shortlist and RFQ
  5. 05Supplier replies are summarized into price, MOQ and lead time
  6. 06Approved content is queued for translation and listing generation
Guardrails
  • Draft-first: AI never auto-publishes a listing or sends an RFQ
  • Structured JSON output is validated with Zod before it touches the database
  • Source-grounded prompts use catalog and supplier data; missing specs stay missing
  • Textile glossary keeps GSM, weave, composition and finish consistent across EN/RU
  • Per-user rate limits, retries and job logs live in BullMQ/Redis
  • Manual search and inquiry flows remain available if an AI provider fails
AI output is treated as a draft. Pricing, MOQ, compliance and supplier commitments stay with a human.
Work with me

License this platform — or make it yours.

This is a live client/enterprise platform. Request a license and I’ll send the scope, terms and pricing privately. Custom features and ongoing work are available hourly.

01
Share requirements
Tell me the version, scope and deployment you need.
02
Scope & license
I send the license terms, timeline and price privately.
03
Handover
Source, documentation and a guided production handover.
Hourly custom work ৳1,500–৳2,500/hrProject minimum ৳1,50,000International: $15–25/hr · from $1500See engagement options →
Platform licenseAvailable
TkanMarket
From ৳1,80,000–৳4,00,000

Single-project license. Extended and exclusive scopes are quoted privately. Handover includes architecture, documentation and setup guidance.

Request a license quoteView license details
Or commission a similar build
৳5,00,000–৳12,00,000

Scoped to your requirements, team and launch timeline.

Scope a custom build
Need a custom feature first? I work hourly on product features, integrations and improvements.
More work

Keep exploring.

Like this outcome?

Let's build yours next.

Send a short brief and I’ll reply with an honest assessment, a scope and a fixed price. No obligation, no sales sequence.

Book a call