Skip to main content

Masterhub

A Telegram bot through which clients choose a specialist, book a consultation, pay and get access to paid channels, and an admin panel that runs it all.

Features​

Telegram bot​

  • For clients: a catalogue of services and specialists, booking a time slot, requests, payments, promo codes, subscriptions to slots and access to paid Telegram channels, a profile and help.
  • For specialists: their own panel in the bot with today's sessions, a schedule calendar, incoming requests and participant reports.
  • For the owner: superadmin commands right in the bot.

Admin panel​

  • Services, specialists, slots and subscriptions.
  • Payments, payment methods and status history, promotions.
  • Telegram channels, FAQ, questions and service requests.
  • Dashboard, application logs, saved table settings.
  • Admin roles, sessions with refresh tokens and two-factor authentication.
  • Works on the phone and installs as a PWA.

Architecture​

  • Backend: one FastAPI image runs as two processes, the admin API and the Telegram bot (aiogram); the bot calls the business logic in-process, without HTTP.
  • Data: PostgreSQL with Alembic migrations, Redis for caching, APScheduler for background jobs.
  • Payments: a payment provider connected through webhooks.
  • Admin panel: React, TypeScript, Vite and React Query.
  • Operations: Docker, releases through GitHub Actions, Cloudflare Tunnel.

All projects