Add basic backend infrastructure

Signed-off-by: Felipe Cardoso <felipe.cardoso@hotmail.it>
This commit is contained in:
2025-01-22 18:02:07 +01:00
parent 80c8537614
commit 805ed647cd
16 changed files with 179 additions and 0 deletions

View File

View File

@@ -0,0 +1,21 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
# SFTP Settings
SFTP_HOST: str
SFTP_USER: str
SFTP_PASSWORD: str
SFTP_PATH: str
SFTP_PORT: int = 22
# API Settings
API_VER_STR: str = "/api/v1"
PROJECT_NAME: str = "Training Monitor"
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()