AB
Amin Boostani
Backend Engineer · Infrastructure Specialist
Production
Automated Digital Product
Sales Platform
A multi-server e-commerce system for automated digital product provisioning, payment verification, and subscription lifecycle management via Telegram Bot interface.
👤
Customer
Telegram Client
Bot API
🤖
Bot Server
Pyrogram · Async
REST API
⚙️
Backend API
Flask-RESTful
Provision
🌐
Service Node
Product Delivery
🗃️
SQLite
Users · Orders · Txns
🛢️
MySQL
Product Accounts · Config
Async Event-Driven
Fully asynchronous bot with Pyrogram, handling concurrent users via state machine (FSM) pattern.
💳
Payment Pipeline
Automated receipt verification, card rotation, admin approval workflow with full audit trail.
🔄
Auto-Provisioning
Instant product delivery via inter-server REST API calls. Zero manual intervention needed.
📊
Admin Dashboard
Real-time sales reports, broadcast messaging, financial settlement tracking via Telegram.
🛡️
Server Monitoring
Live CPU, RAM, network bandwidth metrics with psutil. Health checks via RESTful endpoints.
♻️
Subscription Lifecycle
Full renewal flow with dynamic pricing, discount logic, and automated expiry management.
Python Pyrogram Flask-RESTful SQLite MySQL Async/Await httpx psutil REST API UUID/Token Auth Telegram Bot API Multi-Server
2
Servers
850+
Lines of Code
5
API Endpoints
3
Databases