- 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
23 lines
625 B
Python
23 lines
625 B
Python
from app.schemas.user import UserRead, UserUpdate
|
|
from app.schemas.payment import PaymentRead, PaymentCreate, PaymentConfirm
|
|
from app.schemas.tariff import TariffRead
|
|
from app.schemas.server import ServerRead, ServerCreate, ServerUpdate
|
|
from app.schemas.stats import StatsResponse
|
|
from app.schemas.auth import LoginRequest, RefreshRequest, TokenResponse
|
|
|
|
__all__ = [
|
|
"UserRead",
|
|
"UserUpdate",
|
|
"PaymentRead",
|
|
"PaymentCreate",
|
|
"PaymentConfirm",
|
|
"TariffRead",
|
|
"ServerRead",
|
|
"ServerCreate",
|
|
"ServerUpdate",
|
|
"StatsResponse",
|
|
"LoginRequest",
|
|
"RefreshRequest",
|
|
"TokenResponse",
|
|
]
|