initial commit
This commit is contained in:
10
app/core/config.py
Normal file
10
app/core/config.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
import os
|
||||
|
||||
class Settings(BaseSettings):
|
||||
API_V1_STR: str = ""
|
||||
PROJECT_NAME: str = "Choriosity Anmeldung"
|
||||
SQLALCHEMY_DATABASE_URI: str = "sqlite:///" + os.environ.get("DATABASE_URL", "./db.sqlite")
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user