Add example model, route and logic for development testing and boilerplate
This commit is contained in:
parent
f1cd1e8bfa
commit
cac002e3e6
11 changed files with 80 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
from pydantic_settings import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
|
||||
app_name: str = "DagemarkBackend"
|
||||
|
||||
app_version: str = "0.1"
|
||||
|
||||
database_url: str = "sqlite:///data/app.db"
|
||||
|
||||
debug: bool = True
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
settings = Settings()
|
||||
Loading…
Reference in a new issue