- FastAPI REST API with JWT auth - aiogram 3 Telegram bot with admin middleware - APScheduler daily tasks (expiry, reminders, revoke, sync) - SQLAlchemy 2 async ORM with Alembic migrations - Jinja2 admin panel (Dashboard, Users, Payments, Servers, Tariffs) - VPN provider abstraction with MockProvider - Stats service with revenue/subscription analytics - Docker Compose (PostgreSQL + Redis + app) - Healthcheck endpoint
19 lines
522 B
Python
19 lines
522 B
Python
from app.services.user import UserService
|
|
from app.services.billing import BillingService
|
|
from app.services.payment import PaymentService
|
|
from app.services.notification import NotificationService
|
|
from app.services.server import ServerService
|
|
from app.services.vpn import VPNService
|
|
from app.services.stats import StatsService, SystemStats
|
|
|
|
__all__ = [
|
|
"UserService",
|
|
"BillingService",
|
|
"PaymentService",
|
|
"NotificationService",
|
|
"ServerService",
|
|
"VPNService",
|
|
"StatsService",
|
|
"SystemStats",
|
|
]
|