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

15
requirements.txt Normal file
View File

@@ -0,0 +1,15 @@
fastapi>=0.115.0
uvicorn[standard]>=0.30.0
sqlalchemy>=2.0.0
greenlet>=3.0.0
asyncpg>=0.30.0
alembic>=1.14.0
pydantic>=2.0.0
pydantic-settings>=2.0.0
aiogram>=3.0.0
apscheduler>=3.10.0
redis>=5.0.0
httpx>=0.27.0
python-jose[cryptography]>=3.3.0
loguru>=0.7.0
jinja2>=3.1.0