Skip to main content

YP Platform

A platform for an online school: it sells courses, subscriptions and consultations with specialists, delivers the content and runs the whole business behind it. It consists of a public site, a client account, a panel for specialists and an admin panel.

Features​

  • Courses: course → modules → lessons → content blocks (text with checklists, video, audio, images, files, links, online meetings), with a schedule for opening modules.
  • Video: uploads are transcoded to HLS in several qualities (1080p down to 240p); Russian subtitles are generated automatically with Whisper.
  • Consultations: specialists publish time slots and clients book them. A Zoom meeting is created with each slot automatically, and the recording and transcript come back to the slot. Clients get reminders.
  • Communities: group chats sold together with a plan, with files, images and voice messages.
  • Support chats with an AI assistant: an assistant on Claude answers clients using the catalogue, slots and their orders, can reschedule a booking or start a refund request, and hands the chat to a manager when a person is needed. Closed chats get an AI review of how they were handled.
  • Sales: plans, orders, subscriptions, refunds, two payment providers, order emails.
  • Admin panel: a dashboard of what needs attention, analytics, roles and access to menu sections, logs, built-in documentation.
  • Accounts: passwordless sign-in with an email code and optional two-factor authentication.
  • Mobile: every app works on the phone and installs as a PWA with push notifications.

Architecture​

  • Backend: FastAPI (Python) with PostgreSQL and Redis; the chat assistant uses the Anthropic API.
  • Media: background workers on ARQ: FFmpeg for HLS transcoding, faster-whisper for subtitles. Files are stored in Cloudflare R2 and served by a Cloudflare Worker, private media with signed access.
  • Frontends: five React Router apps with server-side rendering: site, sign-in, client account, specialist panel, admin panel.
  • Sign-in and access: Ory Kratos and Ory Oathkeeper as the edge gateway.
  • Operations: Docker Compose on a VPS, releases through GitHub Actions, Cloudflare Tunnel, metrics and logs in VictoriaMetrics, VictoriaLogs and Grafana with Telegram alerts.

All projects