Skip to content
Fuad Bayramov
All case studies

Kod & Pazl · 2023 – 2026

Multi-tenant LMS with an AI support chatbot

One learning platform serving several corporate clients, each with their own admin dashboards, content and users.

Role: Mid-Level → Senior Frontend Developer & Team Lead

corporate clients
4+corporate clients
active users
1,000+active users
fewer support requests
60%+fewer support requests
faster page loads
40%faster page loads
deploys (was 1–2 hours)
<10 mindeploys (was 1–2 hours)

Context

Corporate clients needed a learning management system they could brand and administer themselves, without the cost of a separate deployment for each company.

The challenge

Serve several tenants from one codebase while keeping each client's data, roles and dashboards separate. At the same time, keep the app fast as content grew and stop support requests from scaling with the user base.

My role

  • Owned the frontend architecture
  • Designed tenant-aware routing, role-based admin dashboards and the chatbot UI
  • Built the caching strategy and the deployment pipeline
  • Led frontend work as Team Lead after promotion to Senior

Key decisions

  1. 01

    One codebase, tenant-aware at the edges

    Instead of forking the app per client, tenant context is resolved once and flows through routing, data fetching and theming. New clients are configuration, not new code.

  2. 02

    Cache on both sides of the wire

    Server-side rendering with TanStack Start for fast first paint, and TanStack Query for client-side caching so returning to a page doesn't refetch what the user already has. Together they cut page load times by 40%.

  3. 03

    Answer common questions before they become tickets

    An integrated AI chatbot handles routine user questions inside the product, so the support team only sees the cases that need a human. Support requests dropped by 60%+.

  4. 04

    Make deploys boring

    Containerised the apps with Docker Swarm behind Traefik, managed DNS through Cloudflare and automated releases with GitLab CI/CD. Deploys went from a 1–2 hour manual process to under 10 minutes.

Results

  • 4+ corporate clients and 1,000+ active users on a single platform
  • 60%+ fewer support requests after the AI chatbot launched
  • 40% faster page loads from client- and server-side caching
  • Deployment time cut from 1–2 hours to under 10 minutes
  • Extended to VK Mini Apps, reaching 100+ additional users

Stack

  • React
  • TypeScript
  • TanStack Start
  • TanStack Query
  • Shadcn UI
  • Docker Swarm
  • Traefik
  • GitLab CI/CD
  • Cloudflare

Next case study

Design system and architecture for 7 projects