- 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
12 lines
363 B
Python
12 lines
363 B
Python
from app.scheduler.tasks.expire_subscriptions import expire_subscriptions
|
|
from app.scheduler.tasks.send_reminders import send_reminders
|
|
from app.scheduler.tasks.revoke_expired import revoke_expired
|
|
from app.scheduler.tasks.sync_servers import sync_servers
|
|
|
|
__all__ = [
|
|
"expire_subscriptions",
|
|
"send_reminders",
|
|
"revoke_expired",
|
|
"sync_servers",
|
|
]
|