add singup endpoint
This commit is contained in:
@@ -3,7 +3,8 @@ from pathlib import Path
|
||||
from pydantic import BaseModel
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
BASE_DIR = Path(__file__).parent
|
||||
BASE_DIR = Path(__file__).parent.parent
|
||||
print(BASE_DIR)
|
||||
DB_PATH = BASE_DIR / "db/taskncoffee.db"
|
||||
|
||||
|
||||
@@ -39,3 +40,4 @@ class Settings(BaseSettings):
|
||||
|
||||
|
||||
settings = Settings()
|
||||
print(settings.db.url)
|
||||
Reference in New Issue
Block a user