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:
2026-07-05 17:50:11 +07:00
commit 7c7c88621d
117 changed files with 4456 additions and 0 deletions
+19
View File
@@ -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",
]