Reorganize to fastapi template
This commit is contained in:
3
app/core/__init__.py
Normal file
3
app/core/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
"""Core package for settings and helpers."""
|
||||
|
||||
__all__ = ["config"]
|
||||
8
app/core/config.py
Normal file
8
app/core/config.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
PROJECT_NAME: str = "home-automation-backend"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user