Initial commit: VPN Control Panel
- 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
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
from app.models.user import User
|
||||
from app.models.server import Server, ServerProtocol
|
||||
from app.models.tariff import Tariff
|
||||
from app.models.payment import Payment, PaymentStatus
|
||||
from app.models.notification import Notification, NotificationType
|
||||
from app.models.admin import Admin, AdminRole
|
||||
|
||||
__all__ = [
|
||||
"User",
|
||||
"Server",
|
||||
"ServerProtocol",
|
||||
"Tariff",
|
||||
"Payment",
|
||||
"PaymentStatus",
|
||||
"Notification",
|
||||
"NotificationType",
|
||||
"Admin",
|
||||
"AdminRole",
|
||||
]
|
||||
Reference in New Issue
Block a user