Initial commit: migrate badge-admin from /tmp to /home/gpsystem

via HAPI (https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
This commit is contained in:
2026-03-17 01:14:40 +00:00
commit 8a18a5ff16
61 changed files with 13106 additions and 0 deletions

14
app/config.py Normal file
View File

@@ -0,0 +1,14 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
APP_NAME: str = "KKS Badge Management System"
DATABASE_URL: str = "sqlite+aiosqlite:///./badge_admin.db"
TCP_HOST: str = "0.0.0.0"
TCP_PORT: int = 5000
API_HOST: str = "0.0.0.0"
API_PORT: int = 8088
DEBUG: bool = True
settings = Settings()