This commit is contained in:
2025-01-04 14:40:52 +01:00
commit 053272b71a
13 changed files with 385 additions and 0 deletions

17
config.py Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright Hersel Giannella
from pydantic_settings import BaseSettings
class Config(BaseSettings):
APP_HOST: str = "127.0.0.1"
APP_PORT: int = 5000
DEBUG: bool = True
SECRET_KEY: str = "default_secret_key"
class Config:
env_file = ".env"
config = Config()