chore: initial project scaffolding with fastapi, docker and modular
structure
This commit is contained in:
17
app/core/config.py
Normal file
17
app/core/config.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
PROJECT_NAME: str = "Playtomic Wrapper"
|
||||
VERSION: str = "1.0.0"
|
||||
API_V1_STR: str = "/api/v1"
|
||||
|
||||
PLAYTOMIC_EMAIL: str
|
||||
PLAYTOMIC_PASSWORD: str
|
||||
PLAYTOMIC_API_URL: str = "https://api.playtomic.io"
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user